Commit cab41f2f authored by Lorenzo "Palinuro" Faletra's avatar Lorenzo "Palinuro" Faletra
Browse files

add apt-get wrapper

parent 5cee9c37
#!/bin/bash
function upgrade {
echo -e "
apt-get upgrade is unsafe on rolling release distributions.
using apt full-upgrade instead
use apt-get upgrade --force to override
"
/usr/bin/apt dist-upgrade
}
case $1 in
upgrade)
upgrade
case $2 in --force)
/usr/bin/apt-get upgrade;;
esac
exit
;;
esac
/usr/bin/apt-get $@
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment