summarylogtreecommitdiffstats
path: root/gr-air-modes-git.install
blob: d6c3aa9fb6804e961150e2e41d35bf5c15aac5ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
post_install() {
  pacman -Q python2-pyqt4 > /dev/null 2>&1
  _pyqt4=$?

  pacman -Q python2-pyqwt > /dev/null 2>&1
  _pyqwt=$?

  if [ "$_pyqt4" != "0" ] || [ "$_pyqwt" != "0" ]; then
    echo ""
    echo "You've installed gr-air-modes-git without GUI support."
    echo "If you want to install the GUI you will need to install"
    echo "python2-pyqt4 and python2-pyqwt and reinstall this package."
    echo ""
    echo "To install those packages as dependencies you can do the following:"
    echo "pacman -S --asdep python2-pyqt4 python2-pyqwt"
    echo ""
  fi
}