diff options
author | Sergio Conde Gómez | 2015-06-08 12:25:13 +0200 |
---|---|---|
committer | Sergio Conde Gómez | 2015-06-08 12:25:13 +0200 |
commit | 8dfc546ba95da974106327ad841acd8b1daf23df (patch) | |
tree | c0f2d3521b45be6cb5d09a45dab14715e658ff61 /gr-air-modes-git.install | |
download | aur-8dfc546ba95da974106327ad841acd8b1daf23df.tar.gz |
Import 20150508-1
Diffstat (limited to 'gr-air-modes-git.install')
-rw-r--r-- | gr-air-modes-git.install | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gr-air-modes-git.install b/gr-air-modes-git.install new file mode 100644 index 000000000000..d6c3aa9fb680 --- /dev/null +++ b/gr-air-modes-git.install @@ -0,0 +1,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 +} |