summaryrefslogtreecommitdiffstats
path: root/pcmanfm
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2008-08-09 15:58:50 +0000
committer Eric Hameleers <alien@slackware.com>2008-08-09 15:58:50 +0000
commitb0531ec4ab05be9279d006dce3f81c7876f88d70 (patch)
tree21f39420b88e516a5ecbb5499825f10ee0f91f9e /pcmanfm
parent20c9411e7c2eae95783a47c4b82a88dad5594b29 (diff)
downloadasb-b0531ec4ab05be9279d006dce3f81c7876f88d70.tar.gz
asb-b0531ec4ab05be9279d006dce3f81c7876f88d70.tar.xz
Updated for 0.5
Diffstat (limited to 'pcmanfm')
-rwxr-xr-xpcmanfm/build/pcmanfm.SlackBuild25
1 files changed, 4 insertions, 21 deletions
diff --git a/pcmanfm/build/pcmanfm.SlackBuild b/pcmanfm/build/pcmanfm.SlackBuild
index 45a66c63..9bdad685 100755
--- a/pcmanfm/build/pcmanfm.SlackBuild
+++ b/pcmanfm/build/pcmanfm.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
# $Id$
-# Copyright (c) 2008 Eric Hameleers <alien@slackware.com>
+# Copyright (c) 2008 Eric Hameleers <alien@slackware.com>, Eindhoven,NL
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for
@@ -32,6 +32,8 @@
# Changelog:
# 0.4.1.1-1: 04/Jun/2008 by Eric Hameleers <alien@slackware.com>
# * Initial build.
+# 0.5-1: 09/aug/2008 by Eric Hameleers <alien@slackware.com>
+# * Update
#
# Run 'sh pcmanfm.SlackBuild --cleanup' to build a Slackware package.
# The package (.tgz) plus descriptive .txt file are created in /tmp .
@@ -42,7 +44,7 @@
# Set initial variables:
PRGNAM=pcmanfm
-VERSION=${VERSION:-0.4.1.1}
+VERSION=${VERSION:-0.5}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-alien}
@@ -171,25 +173,6 @@ fi
# 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/pcmanfm.conf.new
-
if [ -x usr/bin/update-desktop-database ]; then
chroot . /usr/bin/update-desktop-database -q usr/share/applications
fi