system/facter: Fix typo.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
fbdf9413ca
commit
a287196125
|
@ -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
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue