]> gitweb.fluxo.info Git - slackbuilds.git/commitdiff
bitlbee: added default config file
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>
Thu, 28 Sep 2006 16:26:03 +0000 (16:26 +0000)
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>
Thu, 28 Sep 2006 16:26:03 +0000 (16:26 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@283 370017ae-e619-0410-ac65-c121f96126d4

bitlbee/bitlbee.SlackBuild
bitlbee/bitlbee.conf.dist [new file with mode: 0644]

index 8cb3c58a439ed73763c6a03680c9d56f0895cdf2..7065ee66771f334bb81562ea3dd05a60f676f8e1 100755 (executable)
@@ -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 (file)
index 0000000..e69de29