From b0531ec4ab05be9279d006dce3f81c7876f88d70 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Sat, 9 Aug 2008 15:58:50 +0000 Subject: Updated for 0.5 --- pcmanfm/build/pcmanfm.SlackBuild | 25 ++++--------------------- 1 file 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 +# Copyright (c) 2008 Eric Hameleers , 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 # * Initial build. +# 0.5-1: 09/aug/2008 by Eric Hameleers +# * 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 <> $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 -- cgit v1.2.3-65-gdbad