diff options
author | David Spencer <baildon.research@googlemail.com> | 2016-05-29 12:24:20 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-06-01 23:54:53 +0700 |
commit | 222fe7eb23626673694d1bb5a8c0cfa1d7e30d8a (patch) | |
tree | c0c31d061d6332fa18a51964e8d95c504b09f2a4 /system/sudosh2/sudosh2.SlackBuild | |
parent | 38c5cf743d12b311fa318731b562c6677ae847ba (diff) | |
download | slackbuilds-222fe7eb23626673694d1bb5a8c0cfa1d7e30d8a.tar.gz |
system/sudosh2: Fixed install path.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
Diffstat (limited to 'system/sudosh2/sudosh2.SlackBuild')
-rw-r--r-- | system/sudosh2/sudosh2.SlackBuild | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/system/sudosh2/sudosh2.SlackBuild b/system/sudosh2/sudosh2.SlackBuild index 6035343615..5cbcf02663 100644 --- a/system/sudosh2/sudosh2.SlackBuild +++ b/system/sudosh2/sudosh2.SlackBuild @@ -71,10 +71,13 @@ tar xvf $CWD/$PRGNAM-$VERSION.tgz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +patch -p1 < $CWD/sudosh2-destdir.patch +autoreconf -vif CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -90,9 +93,6 @@ CXXFLAGS="$SLKCFLAGS" \ make make install-strip DESTDIR=$PKG -# manually install the conf file -install -m 0644 -D $TMP/$PRGNAM-$VERSION/src/sudosh.conf $PKG/etc/sudosh.conf.new - find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done |