summaryrefslogtreecommitdiff
path: root/system/TLP/TLP.SlackBuild
diff options
context:
space:
mode:
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 9bdc912796..2e6ab35037 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}