From d25c046ab965c1644c89ec71ab746a4b4c60f567 Mon Sep 17 00:00:00 2001 From: Luke Date: Sat, 7 Oct 2017 14:22:14 -0700 Subject: [PATCH] sudo changes --- .install_packages.sh.swp | Bin 20480 -> 0 bytes arch.sh | 2 -- aur_packages.sh | 4 ++-- install_packages.sh | 2 +- user.sh | 2 -- 5 files changed, 3 insertions(+), 7 deletions(-) delete mode 100644 .install_packages.sh.swp diff --git a/.install_packages.sh.swp b/.install_packages.sh.swp deleted file mode 100644 index af9adc29b59667266c7f64156bc1dbf5a10bc331..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 20480 zcmeI4Uu+yl9mh9K3pmg}P$5A@;g_?CZOGpFPZEdxahnEHth!CGn}#Y*tGV6TyR~4?ELx8%x`9XGne|rWAhKw{_2E-zq=gg-PeEn_&Yn!Z~Ofx94E?F zx&Hcke-Y>P>xI$JpV1N47I{mgwKlJ(q2jfO$$DA~lT@)Nda}j5Ro38XHEnJtLL0^^ zU=`S$0+|Zj{kJ>QQe~06I1N{AV$N3w07BDai z#=xE6(nlQUE${>IG7w-C+yegcVaNFs_#mr3yc30M+>J%5sJw|7`cOTrUrX`@_9*|V?)LdfryJ>Id523K zCqNtZLl%jKF(9tT5|2l?4wF`<>Y_uHd3{By$thtmClL@sLr+{OgrZEF6(vdwKu1n2 zc5_B7tyXAqg7!_&)GSr?>kf}n?hI|laA~vT`g{%9=?K|yJ7E&4{1S<-Azj&7Q*M@o zp71#Zyh%Y2w|IkE84_WcAHq0xFI^U;j2P^LFOkKy48~GP5#c%xJBTfAtx>zd6-g0< zv=+wHo{kCO8~P!KN?{TpM$u|T_@)^)nh}6Ban>P^MP4Rh-I_|YDBTWS6$d_98{Ao)6uE&>*8AqV>|?*w@OS2WD_mcV;&<<#4RNfGWILw%Jl<^ znOyZnJE1sh;g+w3s6~?Ldg4(7qOFTeWp$_-buZUK-bU`ctd&ygNzRjiE3c`qb+smE z!xsLPOj4qP)SYgi;)5tmIC9paIE@v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Qal7g0_5Y9bnjGtNz5Xxv@87|?{{nakd>4Ehd<%RNtbl!BFZc|& z2W$s#z(;Th{1g6w3*asAJXi#;BK{}AA@BvD)B8NIe^vpjfK|XMU=^?mSOu&CRspNP z&8YyK09_A}aXnw@6=0d{`w?&MDt0q6t|K_fuzu|IB@KkvZbq!HDEBcMA6dDI>kFwj zeBiH*;I37z^gyj9S-T2XX)~*9m$vo|!zECK)2z0D-yAQ+c+^=xTm0HMW^kd&T3?LF zSHBBu@F`Yp#u>R-tSWn-!&ROa(CpWkU|)nkHxkU(3(y4HMR3tb<5es?jk#-!mdASI z!OxzT$4wmC(FP}phlQ?jypNa492HsQYnLr_Qj%i_!Z`7@b6&rg`{%E$7p;o^QT6re zqX<`~wn04HP)f`v(TMOO0Ey_-8A-eaO3ZR$gUmw{T_ZiYpVq_LpA& ze-``cAN?R~4%YwW`TqB?p1%lw0e%d=4`QtC9|U?Y|94;oG(Z53fd#N1xZoD>D)#Pw z2wnhZz&d&nVzC9a)_MleJ>44rXJ2Ppt z2emdh=4TITkv*to4{F(iTK1rpJ*bucXL#n^#3m1F> LARBS.log) ;} -red() { printf "\033[0;31m $* \033[0m\n" && (echo ERROR: $* >> LARBS.log) ;} +blue() { printf "\033[0;34m $* \033[0m\n" && (sudo echo $* >> LARBS.log) ;} +red() { printf "\033[0;31m $* \033[0m\n" && (sudo echo ERROR: $* >> LARBS.log) ;} #Install an AUR package manually. aurinstall() { curl -O https://aur.archlinux.org/cgit/aur.git/snapshot/$1.tar.gz && tar -xvf $1.tar.gz && cd $1 && makepkg --noconfirm -si && cd .. && rm -rf $1 $1.tar.gz ;} diff --git a/install_packages.sh b/install_packages.sh index 78db085..d31d326 100755 --- a/install_packages.sh +++ b/install_packages.sh @@ -37,7 +37,7 @@ if [[ -e .firstrun ]] then dialog --title "Let's get this party started!" --msgbox "The rest of the installation will now be totally automated, so you can sit back and relax.\n\nIt will take some time, but when done, you'll can relax even more with your complete system.\n\nNow just press and the system will begin installation!" 13 60 blue Now installing main programs... - sudo pacman --noconfirm --needed -S base-devel xorg-xinit xorg-server rxvt-unicode feh ffmpeg pulseaudio pulseaudio-alsa arandr pavucontrol pamixer mpv wget rofi vim w3m ranger mediainfo poppler highlight tmux calcurse htop newsbeuter mpd mpc ncmpcpp network-manager-applet networkmanager imagemagick atool libcaca compton transset-df markdown mupdf evince rsync git youtube-dl youtube-viewer cups screenfetch scrot unzip unrar ntfs-3g offlineimap msmtp notmuch notmuch-mutt dosfstools fzf r pandoc || (echo "Error installing basic packages. Check your internet connection and pacman keyring." >> LARBS.log && error) + sudo pacman --noconfirm --needed -S base-devel xorg-xinit xorg-server rxvt-unicode feh ffmpeg pulseaudio pulseaudio-alsa arandr pavucontrol pamixer mpv wget rofi vim w3m ranger mediainfo poppler highlight tmux calcurse htop newsbeuter mpd mpc ncmpcpp network-manager-applet networkmanager imagemagick atool libcaca compton transset-df markdown mupdf evince rsync git youtube-dl youtube-viewer cups screenfetch scrot unzip unrar ntfs-3g offlineimap msmtp notmuch notmuch-mutt dosfstools fzf r pandoc || (red Error installing basic packages. Check your internet connection and pacman keyring.) else dialog --no-cancel --inputbox "Input the name of a non-root user to install AUR packages as." 10 60 2> .name fi diff --git a/user.sh b/user.sh index 398d166..bb33d52 100755 --- a/user.sh +++ b/user.sh @@ -8,8 +8,6 @@ blue Changing directory to /home/$USER... cd /home/$USER -error() { dialog --title "Error!" --msgbox "We've run into a fatal-ish error. Check the LARBS.log file for more information" 10 60 && clear && exit ;} - blue Activating Pulseaudio if not already active... pulseaudio --start && blue Pulseaudio enabled...