Fix for Debian release
This commit is contained in:
parent
52e892a323
commit
d9cca35b59
@ -46,7 +46,7 @@ function u2d () {
|
||||
cd
|
||||
if [ -e /etc/arch-release ]; then
|
||||
pacman -Syu
|
||||
elif [ -e /etc/debian_release ]; then
|
||||
elif [ -e /etc/debian_version ]; then
|
||||
apt update && apt full-upgrade -y && apt autoremove -y
|
||||
else
|
||||
echo "Auto update not supported."
|
||||
|
Loading…
Reference in New Issue
Block a user