changed calling script from sh > ./

This commit is contained in:
Ryan Bakkes 2022-10-05 01:14:43 +02:00
parent 6a7134147e
commit 48937f75bb

View File

@ -45,8 +45,8 @@ zsh_prompt() {
sudo -u $SUDO_USER touch ~/.tempzshrc
# set up the basics of zsh
sh src/services/zsh/zsh.sh
sh src/services/zsh/Oh-My-ZSH.sh
./src/services/zsh/zsh.sh
./src/services/zsh/Oh-My-ZSH.sh
fi
}
@ -158,7 +158,7 @@ install_files() {
#Reading each line and execute file
if ! [ -x "$(command -v $line)" ]; then
sh ../importantinstalls/$line.sh
./../importantinstalls/$line.sh
else
echo "$line is already installed"
fi
@ -170,7 +170,7 @@ install_files() {
#Reading each line and execute file
if ! [ -x "$(command -v $line)" ]; then
sh ../applications/$line.sh
./../applications/$line.sh
else
echo "$line is already installed"
fi
@ -202,7 +202,7 @@ install_files() {
ProgressBar ${start} ${end} ${line}
#Reading each line and execute file
if ! [ -x "$(command -v $line)" ]; then
sh ../importantinstalls/$line.sh >> /dev/null 2>&1
./../importantinstalls/$line.sh >> /dev/null 2>&1
fi
# update progressbar
@ -223,7 +223,7 @@ install_files() {
ProgressBar ${start} ${end} ${line}
#Reading each line and execute file
if ! [ -x "$(command -v $line)" ]; then
sh ../applications/$line.sh >> /dev/null 2>&1
./../applications/$line.sh >> /dev/null 2>&1
fi
# update progressbar
@ -295,7 +295,7 @@ install_oh_my_zsh() {
# run option
if [[ ${zshOption,,} = "y" ]]; then
# Run Ohmyzsh (ends script)
sh services/zsh/Oh-My-ZSH.sh
./services/zsh/Oh-My-ZSH.sh
fi
}