summaryrefslogtreecommitdiff
path: root/system/jdiskreport/jdiskreport.SlackBuild
diff options
context:
space:
mode:
authorAlan Alberghini <414n@slacky.it>2014-04-24 07:32:42 +0700
committerErik Hanson <erik@slackbuilds.org>2014-04-27 12:18:14 -0500
commit220d8d38adee00911cc46015a7e1d9545be98dd0 (patch)
treeafaab5fb4d899135513c281218e7882123fbcc78 /system/jdiskreport/jdiskreport.SlackBuild
parent8629517697e6f87889231bde5824906aaa54a58f (diff)
downloadslackbuilds-220d8d38adee00911cc46015a7e1d9545be98dd0.tar.gz
system/jdiskreport: Updated for version 1.4.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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