diff options
author | B. Watson <yalhcru@gmail.com> | 2017-03-21 04:16:53 -0400 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2017-03-25 13:28:35 +0000 |
commit | 16d842ffcac5b581ed9e148b454cc6a1f4f6dff7 (patch) | |
tree | 11c739f763069c607c7c553ee672d4d47a2795e6 /network | |
parent | fc1268f4ab839715f7f4d9e99fc0aa3c2785a0e3 (diff) | |
download | slackbuilds-16d842ffcac5b581ed9e148b454cc6a1f4f6dff7.tar.gz |
network/guacamole-server: Install doinst.sh.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r-- | network/guacamole-server/doinst.sh | 3 | ||||
-rw-r--r-- | network/guacamole-server/guacamole-server.SlackBuild | 3 |
2 files changed, 1 insertions, 5 deletions
diff --git a/network/guacamole-server/doinst.sh b/network/guacamole-server/doinst.sh index 79f3952787..e696e66243 100644 --- a/network/guacamole-server/doinst.sh +++ b/network/guacamole-server/doinst.sh @@ -1,14 +1,11 @@ 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... } preserve_perms() { diff --git a/network/guacamole-server/guacamole-server.SlackBuild b/network/guacamole-server/guacamole-server.SlackBuild index 0772421d3f..29c6bd95a5 100644 --- a/network/guacamole-server/guacamole-server.SlackBuild +++ b/network/guacamole-server/guacamole-server.SlackBuild @@ -86,11 +86,9 @@ CXXFLAGS="$SLKCFLAGS" \ --enable-static=no \ --build=$ARCH-slackware-linux -# Compile the application and install it into the $PKG directory make make install-strip DESTDIR=$PKG -# Compress man pages 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 @@ -100,6 +98,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh mv $PKG/etc/rc.d/guacd $PKG/etc/rc.d/rc.guacd.new |