diff options
Diffstat (limited to 'source/a/dcron')
-rwxr-xr-x | source/a/dcron/dcron.SlackBuild | 4 | ||||
-rw-r--r-- | source/a/dcron/run-parts | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/source/a/dcron/dcron.SlackBuild b/source/a/dcron/dcron.SlackBuild index c1dd3fc34..226eedebc 100755 --- a/source/a/dcron/dcron.SlackBuild +++ b/source/a/dcron/dcron.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=dcron VERSION=${VERSION:-$(echo dcron-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-15} +BUILD=${BUILD:-16} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -113,7 +113,7 @@ cat crontab > $PKG/usr/bin/crontab chmod 4711 $PKG/usr/bin/crontab # Add run-parts script and man page, largely taken from Fedora: -zcat $CWD/run-parts.gz > $PKG/usr/bin/run-parts +cat $CWD/run-parts > $PKG/usr/bin/run-parts chmod 0755 $PKG/usr/bin/run-parts mkdir -p $PKG/usr/man/man{1,8} diff --git a/source/a/dcron/run-parts b/source/a/dcron/run-parts index ce9b9f3d1..8835e6d43 100644 --- a/source/a/dcron/run-parts +++ b/source/a/dcron/run-parts @@ -45,9 +45,10 @@ fi # Ignore *~ and *, scripts for i in $(LC_ALL=C; echo ${1%/}/*[^~,]) ; do [ -d $i ] && continue - # Don't run *.{bak,new,rpmsave,rpmorig,rpmnew,swp,cfsaved} scripts + # Don't run *.{bak,new,orig,rpmsave,rpmorig,rpmnew,swp,cfsaved} scripts [ "${i%.bak}" != "${i}" ] && continue [ "${i%.new}" != "${i}" ] && continue + [ "${i%.orig}" != "${i}" ] && continue [ "${i%.rpmsave}" != "${i}" ] && continue [ "${i%.rpmorig}" != "${i}" ] && continue [ "${i%.rpmnew}" != "${i}" ] && continue |