1 # arch linux install script for fuckipred by sluggo // dm9
4 echo -e "\E[32mfuckipred post-install script!\E[0m\E[0m"
5 printf "\E[32mLooking for wesside-ng.. "
6 if command -v wesside-ng >/dev/null 2>&1
8 printf "Found!\E[0m\E[0m\n"
11 printf "\E[31mNot found!\n"
15 AC_URL="http://download.aircrack-ng.org/aircrack-ng-"$AC_VERSION".tar.gz"
17 echo -e "\E[32mDownloading aircrack-ng to $HOME..\E[0m\E[0m"
21 echo -e "\E[32mUnpacking..\E[0m\E[0m"
22 tar -zxf aircrack-ng-$AC_VERSION.tar.gz
24 cd aircrack-ng-$AC_VERSION
26 echo -e "\E[32mCompiling..\E[0m\E[0m"
28 make SQLITE=true unstable=true
30 echo -e "\E[32mInstalling aircrack-ng, please enter your password..\E[0m\E[0m"
31 sudo make SQLITE=true unstable=true install
35 echo -e "\E[32mCleaning up..\E[0m\E[0m"
36 rm -v -f aircrack-ng-$AC_VERSION.tar.gz
41 echo -e "\E[32mfuckipred post-uninstall script!\E[0m\E[0m"
42 echo -e "\E[32muninstalling aircrack-ng..\E[0m\E[0m"
43 cd $HOME/aircrack-ng-$AC_VERSION
45 echo -e "\E[32mCleaning up..\E[0m\E[0m"
47 rm -r -v -f aircrack-ng-$AC_VERSION