Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware.git;a=commitdiff;h=2c8344d9bf37167cfe56c9318c72cb7b5b89e361
commit 2c8344d9bf37167cfe56c9318c72cb7b5b89e361 Author: Miklos Vajna <[EMAIL PROTECTED]> Date: Thu Sep 4 19:32:03 2008 +0200 update-frugalware-version: also check for mounted /proc|/dev before running ybin diff --git a/etc/update-frugalware-version b/etc/update-frugalware-version index dd3f050..c73a916 100644 --- a/etc/update-frugalware-version +++ b/etc/update-frugalware-version @@ -9,7 +9,7 @@ post_sysupgrade() if [ -e /boot/grub/menu.lst ]; then sed -i "s/Frugalware .*)/`cat /etc/frugalware-release`/" \ /boot/grub/menu.lst - elif [ -e /etc/yaboot.conf ]; then + elif [ -e /etc/yaboot.conf -a -e /proc/1 -a -e /dev/zero ]; then sed -i "s/Frugalware .*)/`cat /etc/frugalware-release`/" \ /etc/yaboot.conf grep -q unconfigured /etc/yaboot.conf || ybin _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
