fix install util

This commit is contained in:
Andrejus
2020-02-26 16:46:44 +00:00
parent 2709f78d0e
commit cddac81977
3 changed files with 4 additions and 4 deletions

View File

@@ -4,8 +4,8 @@
#
set -euo pipefail
source "$dotfiles_dir/utils.sh"
printf "Installing ${C_CYAN}$REPOSITORY${C_NC}"
printf " as ${C_YELLOW}$USER${C_NC}\n\n"
printf "\nInstalling ${C_CYAN}$REPOSITORY${C_NC}"
printf " as ${C_YELLOW}$USER${C_NC}\n"
# Prevent running as root
if [[ $USER == root ]]; then

View File

@@ -12,4 +12,4 @@ upgrade
# Package installs
readonly package_list=$(cat $install_dir/$package_list_file) # Don't escape list
install -y $package_list
install $package_list

View File

@@ -17,7 +17,7 @@ upgrade() {
# @arg $1 packages to install
install() {
sudo apt-get install -y "$1"
sudo apt-get install -y $1
}
# @arg $1 repository to add