summaryrefslogtreecommitdiffstats
path: root/recoll
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2007-05-19 00:14:38 +0000
committer Eric Hameleers <alien@slackware.com>2007-05-19 00:14:38 +0000
commitb080d798f9b519d8b82565217ccb266bcf09054c (patch)
treec9741529b002e556dc3b378b227a01b9258bb656 /recoll
parent6cfa214e6acee30ad20426fb835a6cc1e3f66aa9 (diff)
downloadasb-b080d798f9b519d8b82565217ccb266bcf09054c.tar.gz
asb-b080d798f9b519d8b82565217ccb266bcf09054c.tar.xz
Some cleanup left to do
Diffstat (limited to 'recoll')
-rwxr-xr-xrecoll/build/recoll.SlackBuild27
1 files changed, 0 insertions, 27 deletions
diff --git a/recoll/build/recoll.SlackBuild b/recoll/build/recoll.SlackBuild
index 03906247..5820df17 100755
--- a/recoll/build/recoll.SlackBuild
+++ b/recoll/build/recoll.SlackBuild
@@ -155,9 +155,6 @@ echo "++"
cd $TMP/tmp-$PRGNAM
-
-# --- TARBALL EXTRACTION,PATCH,MODIFY ---
-
echo "Extracting the source archive(s) for $PRGNAM..."
if `file ${SOURCE} | grep -q ": bzip2"`; then
tar -xjvf ${SOURCE}
@@ -200,30 +197,6 @@ cp $PKG/usr/share/icons/hicolor/48x48/apps/recoll-searchgui.png \
$PKG/usr/share/pixmaps/
sed -i -e "s#^Icon=recoll-searchgui#Icon=/usr/share/pixmaps/recoll-searchgui.png#" $PKG/usr/share/applications/recoll-searchgui.desktop
-# Add this to the doinst.sh
-! [ -d $PKG/install ] && mkdir -p $PKG/install
-cat <<EOINS >> $PKG/install/doinst.sh
-# Handle the incoming configuration files:
-config() {
- for infile in \$1; do
- NEW="\$infile"
- OLD="\`dirname \$NEW\`/\`basename \$NEW .new\`"
- # If there's no config file by that name, mv it over:
- if [ ! -r \$OLD ]; then
- mv \$NEW \$OLD
- elif [ "\`cat \$OLD | md5sum\`" = "\`cat \$NEW | md5sum\`" ]; then
- # toss the redundant copy
- rm \$NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
- done
-}
-
-# An example of how you handle your '.new' config files:
-#config etc/recoll.conf.new
-
-EOINS
-
# Add documentation:
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION || true