Trying to launch arcolinux-config.sh through install.sh

This commit is contained in:
RealStickman 2020-04-10 11:10:46 +00:00
parent 459f3d2a68
commit 7f78034bf1

View File

@ -4,37 +4,42 @@
cd $HOME
#remove old installs
rm -rf ~/arcolinux-config
#rm -rf ~/arcolinux-config
#clone this repo
git clone https://gitlab.com/RealStickman-arcolinux/arcolinux-config.git &&
#git clone https://gitlab.com/RealStickman-arcolinux/arcolinux-config.git &&
#copy stuff
cp -r ~/arcolinux-config/.config/ ~/ &&
cp ~/arcolinux-config/.bashrc ~/ &&
#cp -r ~/arcolinux-config/.config/ ~/ &&
#cp ~/arcolinux-config/.bashrc ~/ &&
#copy commands
cp ~/arcolinux-config/Commands ~/Dokumente
#cp ~/arcolinux-config/Commands ~/Dokumente
#copy scripts
cp -r ~/arcolinux-config/scripts/ ~/
#cp -r ~/arcolinux-config/scripts/ ~/
#copy stuff to /etc
sudo cp -r ~/arcolinux-config/etc /
#sudo cp -r ~/arcolinux-config/etc /
#make bash scripts executable
chmod +x ~/.config/polybar/launch.sh
chmod +x ~/.config/scripts/startup.sh
chmod +x ~/.config/scripts/download-arcolinux-config.sh
chmod +x ~/.config/i3/scripts/i3exit.sh
chmod +x ~/scripts/arcolinux-config.sh
#chmod +x ~/.config/polybar/launch.sh
#chmod +x ~/.config/scripts/startup.sh
#chmod +x ~/.config/i3/scripts/i3exit.sh
#chmod +x ~/scripts/arcolinux-config.sh
#remove downloaded folder
rm -rf ~/arcolinux-config
#rm -rf ~/arcolinux-config
#restart i3 in place
i3 restart
#i3 restart
#output
echo Finished updating everything!
echo Launching new shell!
#echo Finished updating everything!
#echo Launching new shell!
#new shell to reload .bashrc and fish config
exec bash
#exec bash
echo Launching arcolinux-config.sh
#make executable & launch arcolinux-config.sh
chmod +x ~/arcolinux-config/scripts/arcolinux-config.sh
bash ~/arcolinux-config/scripts/arcolinux-config.sh