post_install() {

  touch /etc/environment
  grep "^QT_QPA_PLATFORMTHEME='*qt5ct'*"                                /etc/environment && \
      sed -i "s|QT_QPA_PLATFORMTHEME=.*|QT_QPA_PLATFORMTHEME='qt5ct'|g" /etc/environment || \
      sed -i "$ a\QT_QPA_PLATFORMTHEME='qt5ct'"                         /etc/environment


  cat << _EOF

==> Installation:
==> To allow QT programs to follow the theme: 'parabola-theme-blackmate';
==> either copy /usr/share/themes/parabola-blackmate/qt5ct/qt5ct.conf to ~/.config/qt5ct/
==> or run the \`qt5ct\` program and select the theme: 'gtk2'.

_EOF
}
