Re: release as a package or add to APT's file list?
The package is here..
http://funkyware.konflux.at/debian/pool/u/upgrade-system/
..and the said utility script looks like this:
------------------------------------
source /etc/upgrade-system.conf
echo "Updating available package lists..."
apt-get -q=2 update
echo -e "\nUpgrading installed packages..."
apt-get $UPGRADEOPTS
echo -e "\nCleaning APT cache..."
apt-get clean
if [ -f /usr/bin/deborphan ]
then
echo -e "\nChecking for orphan files..."
if [ `deborphan $ORPHANOPTS | wc -l | tr -d " "` = 0 ];
then
echo "No orphan file to be purged."
else
echo "Purging orphan files..."
deborphan $ORPHANOPTS | xargs dpkg --purge
fi
fi
if [ -f /usr/bin/update-menus ]
then
echo -e "\nUpdating menus..."
update-menus
fi
echo -e "\nSystem upgrade completed."
------------------------------------
Reply to: