diff options
-rw-r--r-- | system/facter/doinst.sh | 14 | ||||
-rw-r--r-- | system/facter/facter.SlackBuild | 3 |
2 files changed, 1 insertions, 16 deletions
diff --git a/system/facter/doinst.sh b/system/facter/doinst.sh deleted file mode 100644 index 65ce6d65a5..0000000000 --- a/system/facter/doinst.sh +++ /dev/null @@ -1,14 +0,0 @@ -config() { - NEW="$1" - OLD="$(dirname $NEW)/$(basename $NEW .new)" - # 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 - rm $NEW - fi - # Otherwise, we leave the .new copy for the admin to consider... -} - -config etc/facter.conf.new diff --git a/system/facter/facter.SlackBuild b/system/facter/facter.SlackBuild index 2aeae6021f..69fe5a3c73 100644 --- a/system/facter/facter.SlackBuild +++ b/system/facter/facter.SlackBuild @@ -69,7 +69,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -if [ "$ARCH" = "x86_64" ]; then +if [ "$ARCH" == "x86_64" ]; then patch -p0 < $CWD/facter-lib64.patch fi @@ -84,7 +84,6 @@ cd build make make install DESTDIR=$PKG cd .. - #-DLIBDIR=lib${LIBDIRSUFFIX} \ mv $PKG/usr/share/man $PKG/usr/man |