adding dependency installer scripts and yay installer script
This commit is contained in:
parent
a42b2eeec9
commit
fc1b6e40f2
@ -22,6 +22,5 @@
|
|||||||
"viewType": "jupyter.notebook.ipynb",
|
"viewType": "jupyter.notebook.ipynb",
|
||||||
"filenamePattern": "*.ipynb"
|
"filenamePattern": "*.ipynb"
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
"window.zoomLevel": -1
|
|
||||||
}
|
}
|
||||||
@ -1,4 +1,6 @@
|
|||||||
dunst-gitx
|
git-flow-completion-git
|
||||||
|
|
||||||
|
dunst-git
|
||||||
dmenu-inkletblot
|
dmenu-inkletblot
|
||||||
slock
|
slock
|
||||||
notify-send
|
notify-send
|
||||||
@ -10,7 +12,7 @@ xmonad-contrib
|
|||||||
firfox
|
firfox
|
||||||
surf
|
surf
|
||||||
xmobar
|
xmobar
|
||||||
picom
|
picom-jonaburg-git
|
||||||
nitrogen
|
nitrogen
|
||||||
xclip
|
xclip
|
||||||
numlockx
|
numlockx
|
||||||
@ -85,4 +87,3 @@ ansible
|
|||||||
android-sdk-platform-tools
|
android-sdk-platform-tools
|
||||||
lxappearance
|
lxappearance
|
||||||
qt5ct
|
qt5ct
|
||||||
|
|
||||||
|
|||||||
19
scripts/install-dependencies
Executable file
19
scripts/install-dependencies
Executable file
@ -0,0 +1,19 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
default_programs="/default-programs"
|
||||||
|
|
||||||
|
dependencies=$(cat $HOME/$default_programs)
|
||||||
|
|
||||||
|
for dependency in $dependencies
|
||||||
|
do
|
||||||
|
|
||||||
|
if ! command -v $dependency &> /dev/null; then
|
||||||
|
yay -Sy --noconfirm $dependency
|
||||||
|
fi
|
||||||
|
|
||||||
|
break
|
||||||
|
|
||||||
|
done
|
||||||
|
|
||||||
|
# notify about steam issue
|
||||||
|
# echo "There are a few programs that can't be automatically installed. The main one of these is Steam which requires multilib to be enabled. Instructions for this can be found at: https://wiki.archlinux.org/index.php/Official_repositories#Enabling_multilib Once this is done steam can be installed."
|
||||||
34
scripts/install-yay
Executable file
34
scripts/install-yay
Executable file
@ -0,0 +1,34 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# if command -v yay &> /dev/null; then
|
||||||
|
# echo "yay is already installed."
|
||||||
|
# exit 0;
|
||||||
|
# fi
|
||||||
|
|
||||||
|
echo "This script is going to install yay and it's dependencies. As such it will ask for root privilages."
|
||||||
|
|
||||||
|
read -r -p "Are You Sure? [y/N] " input
|
||||||
|
|
||||||
|
case $input in
|
||||||
|
[yY][eE][sS] | [yY])
|
||||||
|
echo "The program will continue..."
|
||||||
|
;;
|
||||||
|
[nN][oO] | [nN])
|
||||||
|
exit 0
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "Invalid input..."
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if ! command -v git &> /dev/null; then
|
||||||
|
sudo pacman -Sy --noconfirm git
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! command -v fakeroot &> /dev/null; then
|
||||||
|
sudo pacman -Sy --noconfirm base-devel
|
||||||
|
fi
|
||||||
|
|
||||||
|
cd /opt
|
||||||
|
sudo git clone https://aur.archlinux.org/yay.git
|
||||||
Loading…
Reference in New Issue
Block a user