summaryrefslogtreecommitdiff
path: root/system/jdiskreport/jdiskreport.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/jdiskreport/jdiskreport.SlackBuild')
-rw-r--r--system/jdiskreport/jdiskreport.SlackBuild17
1 files changed, 8 insertions, 9 deletions
diff --git a/system/jdiskreport/jdiskreport.SlackBuild b/system/jdiskreport/jdiskreport.SlackBuild
index 7bd1d9e0e1..0acca36210 100644
--- a/system/jdiskreport/jdiskreport.SlackBuild
+++ b/system/jdiskreport/jdiskreport.SlackBuild
@@ -29,10 +29,11 @@
# 1 - Initial release.
# 20120404 - Updated for version 1.4.0
# 20121211 - Corrected "$@" to "\$@" in the /usr/bin script creation
+# 20140423 - Updated for version 1.4.1
PRGNAM=jdiskreport
-VERSION=${VERSION:-1.4.0}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.4.1}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH=noarch
@@ -54,10 +55,10 @@ unzip -a "$CWD/$PRGNAM-$(echo $VERSION | tr . _).zip"
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir -p $PKG/opt/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION $PKG/usr/share/applications \
$PKG/usr/share/pixmaps $PKG/usr/bin
@@ -77,9 +78,7 @@ END
#... and mark it executable
chmod 755 $PKG/usr/bin/jdiskreport
-cp -a \
- $DOCS \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install