From 6bd9958aad492cd1febecbbba7d127a8d2cb2190 Mon Sep 17 00:00:00 2001 From: rhatto Date: Thu, 28 Sep 2006 16:26:03 +0000 Subject: bitlbee: added default config file git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@283 370017ae-e619-0410-ac65-c121f96126d4 --- bitlbee/bitlbee.SlackBuild | 6 ++++++ bitlbee/bitlbee.conf.dist | 0 2 files changed, 6 insertions(+) create mode 100644 bitlbee/bitlbee.conf.dist 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 -- cgit v1.2.3