summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-01-19 00:25:26 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-20 02:27:21 +0700
commitd8238b285a65425bbdf75f20f2ca3fbeda859781 (patch)
treee09f04c2bbdc1dffb41846b141d85131b2396ae9 /network
parenta046993f702ea54cf8604e846adfca98d618bacf (diff)
downloadslackbuilds-d8238b285a65425bbdf75f20f2ca3fbeda859781.tar.gz
network/gns3: Don't use /usr/local.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/gns3/gns3.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/network/gns3/gns3.SlackBuild b/network/gns3/gns3.SlackBuild
index 0ae444ba88..ae5100a44d 100644
--- a/network/gns3/gns3.SlackBuild
+++ b/network/gns3/gns3.SlackBuild
@@ -78,10 +78,13 @@ EOF
cat $CWD/$PRGNAM.png > $PKG/usr/share/pixmaps/$PRGNAM.png
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS CHANGELOG README TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS CHANGELOG COPYING README TODO $PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKG/usr/local/share/examples/gns3 $PKG/usr/doc/$PRGNAM-$VERSION/examples
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc -type f -exec chmod 0644 {} \;
+rm -rf $PKG/usr/local
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh