diff options
author | rhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4> | 2008-11-14 11:29:32 +0000 |
---|---|---|
committer | rhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4> | 2008-11-14 11:29:32 +0000 |
commit | 7f8d2d4f1c2790d45ae7f6d2b659c4ebb1c846f1 (patch) | |
tree | 8f78dcc763f36c13d4e10471ab51d5c28f3cac99 /net/im/bitlbee | |
parent | 956d1936a79dfcbdd5925ccf3cae1e99504df949 (diff) | |
download | slackbuilds-7f8d2d4f1c2790d45ae7f6d2b659c4ebb1c846f1.tar.gz slackbuilds-7f8d2d4f1c2790d45ae7f6d2b659c4ebb1c846f1.tar.bz2 |
bitlbee: rebuilt from mkbuild
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1921 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'net/im/bitlbee')
-rwxr-xr-x | net/im/bitlbee/bitlbee.SlackBuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/net/im/bitlbee/bitlbee.SlackBuild b/net/im/bitlbee/bitlbee.SlackBuild index 66c52acf..95e53255 100755 --- a/net/im/bitlbee/bitlbee.SlackBuild +++ b/net/im/bitlbee/bitlbee.SlackBuild @@ -16,7 +16,7 @@ # # slackbuild for bitlbee, by Silvio Rhatto # requires: gnutls -# tested: bitlbee-1.2.1 +# tested: bitlbee-1.2.3 # # Look for slackbuildrc @@ -31,7 +31,7 @@ CWD="$(pwd)" SRC_NAME="bitlbee" PKG_NAME="bitlbee" ARCH=${ARCH:=i486} -SRC_VERSION=${VERSION:=1.2.1} +SRC_VERSION=${VERSION:=1.2.3} PKG_VERSION="$(echo "$SRC_VERSION" | tr '[[:blank:]-]' '_')" BUILD=${BUILD:=1rha} SRC_DIR=${SRC_DIR:=$CWD}/$PKG_NAME @@ -185,6 +185,9 @@ cat << EOSCRIPT > "$PKG/install/doinst.sh" config() { NEW="\$1" OLD="\$(dirname \$NEW)/\$(basename \$NEW .new)" + OLD="\$(dirname \$NEW)/\$(basename \$OLD .sample)" + OLD="\$(dirname \$NEW)/\$(basename \$OLD .dist)" + # If there's no config file by that name, mv it over: if [ ! -r \$OLD ]; then mv \$NEW \$OLD |