Advertisement
Guest User

Untitled

a guest
Jun 24th, 2017
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.08 KB | None | 0 0
  1. #!/bin/bash
  2. echo ""
  3. echo "Bodhi Application Installer"
  4. echo "F-Spot Photo Manager"
  5. echo ""
  6.  
  7. shellementary --question --title="Bodhi Application Installer" --text="Would you like to install F-Spot Photo Manager?"
  8. if [ $? == 1 ]
  9. then
  10.     shellementary --info --title="Bodhi Application Installer" --text="F-Spot Photo Manager was NOT Installed. Thanks for using Bodhi!"
  11.     exit 1
  12. fi
  13. shellementary --info --title="Bodhi Application Installer" --text="Click OK and enter your password to install F-Spot Photo Manager"
  14.  
  15. empower echo "Empower. It is here for a reason"
  16. #sleep 2
  17. echo "Moving data into apt cache"
  18. sudo cp *.deb /var/cache/apt/archives/ #| zenity --progress --pulsate --title="Bodhi Application Installer - Copying Data" --width=600 --auto-close
  19. #sleep 2
  20. echo "Installing F-Spot Photo Manager via apt"
  21. sudo apt-get -y install f-spot #| zenity --progress --pulsate --title="Bodhi Application Installer - Installing" --width=600 --auto-kill
  22.  
  23. shellementary --info --title="Bodhi Application Installer" --text="F-Spot Photo Manager Installed. Find it in your applications menu."
  24. exit 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement