Skip to content

Commit

Permalink
glob *.sources
Browse files Browse the repository at this point in the history
  • Loading branch information
kennethrrosen authored Jun 14, 2024
1 parent 05aee3f commit 12af6bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions qvm-template-upgrade
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ upgrade_debian_template() {

message "Updating APT repositories..."
qvm-run -u root "$template" "sed -i 's/$old_name/$new_name/g' /etc/apt/sources.list /etc/apt/sources.list.d/*.list"
qvm-run -u root "$template" "sed -i 's/$old_name/$new_name/g' /etc/apt/sources.list /etc/apt/sources.list.d/*.sources"

message "Performing upgrade..."
qvm-run -u root "$template" "apt update && apt full-upgrade -y && apt autoremove -y && apt clean"
Expand Down

0 comments on commit 12af6bb

Please sign in to comment.