Work on install script
This commit is contained in:
parent
f4f0bcd126
commit
140c3ecf9a
2 changed files with 37 additions and 25 deletions
37
install.sh
Executable file
37
install.sh
Executable file
|
@ -0,0 +1,37 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
SCRIPT_DIR="$( cd "$( dirname "$0" )" && pwd )"
|
||||
cd $SCRIPT_DIR
|
||||
|
||||
doStow(){
|
||||
local tostow=(
|
||||
"bin"
|
||||
"browserOverides"
|
||||
"dunst"
|
||||
"git"
|
||||
"pandoc"
|
||||
"qutebrowser"
|
||||
"ranger"
|
||||
"rofi"
|
||||
"sxiv"
|
||||
"templates"
|
||||
"vim"
|
||||
"x"
|
||||
"zathura"
|
||||
)
|
||||
|
||||
for i in ${tostow[*]}; do
|
||||
stow $i
|
||||
done
|
||||
}
|
||||
|
||||
pacmanInstall(){
|
||||
local packages=(
|
||||
"gvim"
|
||||
"zsh"
|
||||
"git"
|
||||
)
|
||||
if pacman -Qs $package > /dev/null; then
|
||||
|
||||
fi
|
||||
}
|
25
stow.sh
25
stow.sh
|
@ -1,25 +0,0 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
tostow=(
|
||||
"bin"
|
||||
"browserOverides"
|
||||
"dunst"
|
||||
"git"
|
||||
"pandoc"
|
||||
"qutebrowser"
|
||||
"ranger"
|
||||
"rofi"
|
||||
"sxiv"
|
||||
"templates"
|
||||
"vim"
|
||||
"x"
|
||||
"zathura"
|
||||
)
|
||||
|
||||
SCRIPT_DIR="$( cd "$( dirname "$0" )" && pwd )"
|
||||
cd SCRIPT_DIR
|
||||
|
||||
for i in ${tostow[*]}; do
|
||||
stow $i
|
||||
done
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue