aboutsummaryrefslogtreecommitdiff
path: root/system/TLP/TLP.SlackBuild
diff options
context:
space:
mode:
authorAaditya Bagga <aaditya_gnulinux@zoho.com>2014-10-17 07:50:24 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-10-17 07:50:24 +0700
commit6337b80af016190ab3d9df257cb132697a5de77b (patch)
tree1188f618cc3c6be074f206865923d53ab358faa7 /system/TLP/TLP.SlackBuild
parent0c889dd38e4e9396607f62ae7d60a387ee2b4219 (diff)
system/TLP: Updated for version 0.6.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/TLP/TLP.SlackBuild')
-rw-r--r--system/TLP/TLP.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/system/TLP/TLP.SlackBuild b/system/TLP/TLP.SlackBuild
index 9bdc912796989..2e6ab3503763d 100644
--- a/system/TLP/TLP.SlackBuild
+++ b/system/TLP/TLP.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=TLP
-VERSION=${VERSION:-0.5}
+VERSION=${VERSION:-0.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -82,10 +82,11 @@ sed -i -e "s/usr\/lib/usr\/lib${LIBDIRSUFFIX}/" Makefile
make install-tlp DESTDIR=$PKG
# move to rc.tlp
-mv $PKG/etc/rc.d/tlp $PKG/etc/rc.d/rc.tlp
+install -Dm 644 $PKG/etc/rc.d/tlp $PKG/etc/rc.d/rc.tlp
# Don't clobber configs
mv $PKG/etc/default/tlp $PKG/etc/default/tlp.new
+mv $PKG/etc/rc.d/rc.tlp $PKG/etc/rc.d/rc.tlp.new
# install man files
mkdir -p $PKG/usr/man/man{1,8}