Advertisement
LordSolrac2

MaPi1.sh

Apr 30th, 2016
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.87 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. #MaPi Script by LSolrac2 - SolAZDev@gmail.com
  4. #Based on https://www.raspberrypi.org/forums/viewtopic.php?p=769666
  5.  
  6. #visudo promp
  7. echo "Upon Pressing Enter, Please Look for the last line on, and add"
  8. echo "YOUR-USERNAME ALL=(ALL) NOPASSWD: ALL"
  9. echo "You may Copy [Ctrl+Shift+C] and Paste [Ctrl+Shift+V] on the last line"
  10. read
  11. sudo visudo
  12.  
  13. #UpdatePromp
  14. echo "Update Repository and Upgrade OS Packages? [Highly Recomended][1 Yes/2 No]"
  15. read Update
  16. if [$Update == 1]; then
  17.  sudo apt-get update && sudo apt-get -y upgrade && sudo apt-get -y dist-upgrade
  18.  sudo apt-get -y install fonts-roboto libxfce4ui-1-0 libxfconf-0-2 libxfce4util-common libxfce4ui-common xfconf libxfce4util7 git dialog youtube-dl
  19. fi
  20.  
  21. #LXDE Promp
  22. echo "Install LXDE/Lubuntu Desktop? [1.Yes/2.No if you already have it]"
  23. read lxd
  24. if [$lxd == 1]; then
  25.  sudo apt-get -y install lubuntu-desktop lxde
  26. fi
  27.  
  28. #RPi UI Mods
  29. echo "We'll be downloading some UI Mods [Press Enter]"
  30. read
  31. mkdir ~/Apps && mkdir ~/Apps/Pi && mkdir ~/Apps/Pi/Packages/ && mkdir ~/Apps/Pi/Packages/UIMods && cd ~/Apps/Pi/Packages/UIMods
  32.  
  33. wget -c -t 999 http://archive.raspbian.org/raspbian/pool/main/libx/libxfce4util/libxfce4util4_4.8.2-1_armhf.deb
  34. wget -c -t 999 http://archive.raspberrypi.org/debian/pool/main/r/raspberrypi-ui-mods/raspberrypi-ui-mods_1.1-4_all.deb
  35. wget -c -t 999 http://archive.raspberrypi.org/debian/pool/main/r/raspberrypi-artwork/raspberrypi-artwork_20141115_all.deb
  36. wget -c -t 999 http://archive.raspberrypi.org/debian/pool/main/p/pimixer/pimixer_0.20150519~144516-1_armhf.deb
  37. wget -c -t 999 http://archive.raspberrypi.org/debian/pool/main/p/pipanel/pipanel_0.1-1_armhf.deb
  38. sudo dpkg -i raspberrypi-ui-mods_1.1-4_all.deb raspberrypi-artwork_20141115_all.deb pimixer_0.20150519~144516-1_armhf.deb pipanel_0.1-1_armhf.deb libxfce4util4_4.8.2-1_armhf.deb
  39.  
  40. echo "Now you should reboot, and run Part 2."
  41. exit 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement