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