diff options
-rwxr-xr-x | bitlbee/bitlbee.SlackBuild | 6 | ||||
-rw-r--r-- | bitlbee/bitlbee.conf.dist | 0 |
2 files changed, 6 insertions, 0 deletions
diff --git a/bitlbee/bitlbee.SlackBuild b/bitlbee/bitlbee.SlackBuild index 8cb3c58a..7065ee66 100755 --- a/bitlbee/bitlbee.SlackBuild +++ b/bitlbee/bitlbee.SlackBuild @@ -86,6 +86,9 @@ CWD="`pwd`" cd $TMP/package-$PACKAGE +mkdir $TMP/package-$PACKAGE/etc +cp $CWD/bitlbee.conf $TMP/package-$PACKAGE/etc/bitlbee.conf.dist + find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null @@ -120,6 +123,9 @@ for file in AUTHORS CHANGES CREDITS FAQ INSTALL README; do cp $CWD/doc/$file* usr/doc/$PACKAGE-$VERSION/ done +# install script +echo '( if [ ! -f "etc/bitlbee/bitlbee.conf" ]; then mv etc/bitlbee/bitlbee.conf.dist etc/bitlbee/bitlbee.conf; fi )' > install/doinst.sh + makepkg -c y -l y $REPOS/$PACKAGE-$VERSION-$ARCH-$BUILD.tgz if [ "$CLEANUP" == "yes" ]; then diff --git a/bitlbee/bitlbee.conf.dist b/bitlbee/bitlbee.conf.dist new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/bitlbee/bitlbee.conf.dist |