move upgrade script

asd
This commit is contained in:
lucas committed 2026-10-01 14:07:20 +00:00
1 parent 0d059bc1c0
commit d992905301
2 files changed
+4 -3

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ alias please="sudo"
alias NC_scripts="cd ${NC_SCRIPTS}"
alias regex_rename="${LOCAL_SCRIPTS}/rename.sh"
alias profile="${LOCAL_SCRIPTS}/profile_motd.sh"
alias auto_update="sudo ${LOCAL_SCRIPTS}/upgrade.sh"
alias auto_update="sudo ${LOCAL_SCRIPTS}/utils/upgrade.sh"
alias aptgrep="apt list --installed | grep -i "
alias reboot="sudo /sbin/reboot"
alias shutdown="sudo /sbin/shutdown"
+3 -2
View File
@@ -144,7 +144,7 @@ echo "Finished Package Update"
# SpotDL Virtual Environment
###############################################################################
if [[ ! -d "$venv_dir" ]]; then
if [[ ! -d "$venv_dir" ]] && [[ "$1" == "--create-venv" ]]; then
echo "Creating SpotDL virtual environment"
@@ -152,7 +152,7 @@ if [[ ! -d "$venv_dir" ]]; then
python3 -m venv "$venv_dir"
fi
if [[ -d "$venv_dir" ]]; then
if [[ ! -x "${venv_dir}/bin/pip3" ]]; then
echo "Installing pip"
@@ -207,6 +207,7 @@ for package in "${packages[@]}"; do
write_out "${package} [${red}FAIL${norm}]"
fi
done
fi
###############################################################################
# Docker Updates