diff options
author | aaditya <aaditya_gnulinux@zoho.com> | 2014-02-09 15:16:26 +0700 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2014-02-11 12:15:07 -0600 |
commit | f9ea7faea93ad47b68d5aa4af47b88bd3695bf3d (patch) | |
tree | a67ffb11dbfc906550887d97086a0e7ee9302099 /system/thermal_daemon/thermal_daemon.SlackBuild | |
parent | bba614f466830d48904d490b7d9e13a2bba5c9dc (diff) | |
download | slackbuilds-f9ea7faea93ad47b68d5aa4af47b88bd3695bf3d.tar.gz |
system/thermal_daemon: Updated for version 1.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/thermal_daemon/thermal_daemon.SlackBuild')
-rw-r--r-- | system/thermal_daemon/thermal_daemon.SlackBuild | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/system/thermal_daemon/thermal_daemon.SlackBuild b/system/thermal_daemon/thermal_daemon.SlackBuild index 9d88d8bada..9ec834af3e 100644 --- a/system/thermal_daemon/thermal_daemon.SlackBuild +++ b/system/thermal_daemon/thermal_daemon.SlackBuild @@ -23,8 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=thermal_daemon -VERSION=${VERSION:-1.1_rc2} -SRCVERSION=$(echo $VERSION | tr _ -) +VERSION=${VERSION:-1.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -55,18 +54,14 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$SRCVERSION -if [ -e $CWD/$SRCVERSION.tar.gz ]; then - tar xvf $CWD/$SRCVERSION.tar.gz -else - tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.gz -fi -cd $PRGNAM-$SRCVERSION +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/v$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ |