Skip to content

Commit 1bc513c

Browse files
committed
replace the last traces of apt-get with apt
1 parent 0943d96 commit 1bc513c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ucaresystem-core

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ function MAINTENANCE {
274274

275275
## Removes package files that can no longer be downloaded and everything except
276276
# the lock file in /var/cache/apt/archives, including directories.
277-
sudo apt-get -y autoclean; sudo apt-get -y clean;
277+
sudo apt -y autoclean; sudo apt -y clean;
278278
echo
279279
echo "######################################"
280280
echo " Cleaned downloaded temporary packages"
@@ -333,8 +333,8 @@ deb http://old-releases.ubuntu.com/ubuntu/ $DIST_CODENAME-security main restrict
333333

334334
EOT
335335

336-
sudo apt-get install update-manager-core
337-
sudo apt-get -y dist-upgrade
336+
sudo apt install update-manager-core
337+
sudo apt -y dist-upgrade
338338
sudo do-release-upgrade
339339
}
340340

0 commit comments

Comments
 (0)