From c20272580f6a2ab2f1c9aac1fc94a453bf90e715 Mon Sep 17 00:00:00 2001 From: luis Date: Sat, 17 Mar 2007 03:09:08 +0000 Subject: fixing a few details git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1108 370017ae-e619-0410-ac65-c121f96126d4 --- sys/apps/microcode_ctl/microcode_ctl.SlackBuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/apps/microcode_ctl') diff --git a/sys/apps/microcode_ctl/microcode_ctl.SlackBuild b/sys/apps/microcode_ctl/microcode_ctl.SlackBuild index dac34a07..19698f93 100755 --- a/sys/apps/microcode_ctl/microcode_ctl.SlackBuild +++ b/sys/apps/microcode_ctl/microcode_ctl.SlackBuild @@ -133,11 +133,11 @@ cat << EOSCRIPT > "$PKG/install/doinst.sh" config() { NEW="\$1" OLD="\$(dirname \$NEW)/\$(basename \$NEW .new)" - # If there's no config file by that name, mv it over + # If there's no config file by that name, mv it over: if [ ! -r \$OLD ]; then mv \$NEW \$OLD elif [ "\$(cat \$OLD | md5sum)" = "\$(cat \$NEW | md5sum)" ]; then - # Toss the redundant copy + # toss the redundant copy rm \$NEW fi # Otherwise, we leave the .new copy for the admin to consider... -- cgit v1.2.3