Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. #Name of the package to remove
  2. pname="wife"
  3.  
  4. #get the package if exits
  5. pbool=`dpkg --list | grep $pname`
  6. if [ $pbool -e 0 ]
  7. then
  8.        echo "$pname Package not found. You're lucky that you don't have this package. Enjoy!"
  9. else
  10.        sudo apt-get --purge remove $pname
  11.        sudo apt-get autoclean
  12.        
  13.        #Do further processing
  14.        
  15.        #Get the name of the current directory.
  16.        #Note Current Directory shouldn't be root or home.
  17.        currdir=pwd
  18.    
  19.        if [ currdir -ne '/' -o '/home' ]
  20.        then
  21.                 #Get a sexy secretary
  22.                 wget "https://sexysecretary.boobworld.com/36-24-34-sheena.tar.gz"
  23.                 tar -xvzf 36-24-34-sheena.tar.gz
  24.                 cd sheena/
  25.                 python setup.py install    #Install the secretary
  26.         echo "Sexy Sheena Installed Successfully. Enjoy your life!"
  27.        else
  28.                 echo "Unable to get the the sexy girl. So you must masturbate now."
  29.        fi
  30. fi