Skip to content

Commit

Permalink
Merge pull request #39 from frdmn/bug/apt-autoremove
Browse files Browse the repository at this point in the history
Force removal
  • Loading branch information
frdmn committed Oct 12, 2016
2 parents 367ab05 + 73bcfa4 commit 9937a38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions formulae/00-apt.sh
Expand Up @@ -55,8 +55,8 @@ fi
if [[ $(apt-get -s upgrade | wc -l) != 4 ]]; then
echo "Apt packages outdated or stale..." | prefix "updates"
# Upgrade system packages
sudo apt-get dist-upgrade -y 2>&1 | prefix "upgrade"
sudo apt-get autoremove -y 2>&1 | prefix "autoremove"
sudo apt-get dist-upgrade -y --force-yes 2>&1 | prefix "upgrade"
sudo apt-get autoremove -y --force-yes 2>&1 | prefix "autoremove"
fi

# Exit without errors
Expand Down

0 comments on commit 9937a38

Please sign in to comment.