os-upgrade.sh: delete duplicate code.
This commit is contained in:
parent
d4ee1b59cb
commit
7f8eb6641f
@ -272,10 +272,6 @@ else
|
|||||||
echo_done
|
echo_done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -f "/var/run/reboot-required" ]]; then
|
|
||||||
echo -e "\n\t[ \033[31m\033[1m Reboot required! \033[m\033[m ]\n"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# - Get list of packages with onlx config files present
|
# - Get list of packages with onlx config files present
|
||||||
# -
|
# -
|
||||||
rc_packages="$(dpkg --list | awk '/^rc/ { print $2 }')"
|
rc_packages="$(dpkg --list | awk '/^rc/ { print $2 }')"
|
||||||
|
Loading…
Reference in New Issue
Block a user