Magellan Linux

Diff of /mage/branches/alx-0_6_0/profiles/alx-060/forced-uninstall

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2815 by niro, Tue Aug 30 14:29:21 2011 UTC revision 2816 by niro, Wed Aug 31 09:14:41 2011 UTC
# Line 302  then Line 302  then
302   # fake mageupgrade to fix annoying error messages   # fake mageupgrade to fix annoying error messages
303   if [[ ! -x /sbin/mageupgrade ]]   if [[ ! -x /sbin/mageupgrade ]]
304   then   then
305   ln -snf /bin/true /sbin/mageupgrade   echo '!/bin/sh' > /sbin/mageupgrade
306     echo 'exit 0'  >> /sbin/mageupgrade
307     chmod +x /sbin/mageupgrade
308   echo "* * * * * rm /sbin/mageupgrade" >> ${tmp}   echo "* * * * * rm /sbin/mageupgrade" >> ${tmp}
309   fi   fi
310   echo "* * * * * crontab -r && reboot -f" >> ${tmp}   echo "* * * * * crontab -r && reboot -f" >> ${tmp}

Legend:
Removed from v.2815  
changed lines
  Added in v.2816