# restart upgrade under script for logging purposes
if [ "$1" == "--no-script" ]; then
shift
elif [ -x /usr/bin/script ]; then
# restart upgrade under script for logging purposes
if [ "$1" == "--no-script" ]; then
shift
elif [ -x /usr/bin/script ]; then