diff options
author | Thibaut Notteboom <thibaut.notteboom@gmail.com> | 2015-07-13 07:56:23 +0700 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2015-07-16 10:57:18 -0500 |
commit | a2871961257db0411d4423fcd0f56c3aab6ab2dd (patch) | |
tree | 96037544f53fe05da7b30e2887c92afbedff6d5d | |
parent | fbdf9413ca0bcd0e9336349c942da439d6866087 (diff) |
system/facter: Fix typo.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-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 65ce6d65a5457..0000000000000 --- 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 2aeae6021f633..69fe5a3c733fe 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 |