Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- #MaPi Script by LSolrac2 - SolAZDev@gmail.com
- #Based on https://www.raspberrypi.org/forums/viewtopic.php?p=769666
- #visudo promp
- echo "Upon Pressing Enter, Please Look for the last line on, and add"
- echo "YOUR-USERNAME ALL=(ALL) NOPASSWD: ALL"
- echo "You may Copy [Ctrl+Shift+C] and Paste [Ctrl+Shift+V] on the last line"
- read
- sudo visudo
- #UpdatePromp
- echo "Update Repository and Upgrade OS Packages? [Highly Recomended][1 Yes/2 No]"
- read Update
- if [$Update == 1]; then
- sudo apt-get update && sudo apt-get -y upgrade && sudo apt-get -y dist-upgrade
- sudo apt-get -y install fonts-roboto libxfce4ui-1-0 libxfconf-0-2 libxfce4util-common libxfce4ui-common xfconf libxfce4util7 git dialog youtube-dl
- fi
- #LXDE Promp
- echo "Install LXDE/Lubuntu Desktop? [1.Yes/2.No if you already have it]"
- read lxd
- if [$lxd == 1]; then
- sudo apt-get -y install lubuntu-desktop lxde
- fi
- #RPi UI Mods
- echo "We'll be downloading some UI Mods [Press Enter]"
- read
- mkdir ~/Apps && mkdir ~/Apps/Pi && mkdir ~/Apps/Pi/Packages/ && mkdir ~/Apps/Pi/Packages/UIMods && cd ~/Apps/Pi/Packages/UIMods
- wget -c -t 999 http://archive.raspbian.org/raspbian/pool/main/libx/libxfce4util/libxfce4util4_4.8.2-1_armhf.deb
- wget -c -t 999 http://archive.raspberrypi.org/debian/pool/main/r/raspberrypi-ui-mods/raspberrypi-ui-mods_1.1-4_all.deb
- wget -c -t 999 http://archive.raspberrypi.org/debian/pool/main/r/raspberrypi-artwork/raspberrypi-artwork_20141115_all.deb
- wget -c -t 999 http://archive.raspberrypi.org/debian/pool/main/p/pimixer/pimixer_0.20150519~144516-1_armhf.deb
- wget -c -t 999 http://archive.raspberrypi.org/debian/pool/main/p/pipanel/pipanel_0.1-1_armhf.deb
- 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
- echo "Now you should reboot, and run Part 2."
- exit 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement