Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
laptop-mode-tools
laptop-mode-1.53-install_sh.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File laptop-mode-1.53-install_sh.diff of Package laptop-mode-tools
Index: laptop-mode-tools_1.49/install.sh ================================================================================ @@ -276,9 +277,9 @@ if [ "$INIT_D" != "none" ] ; then if [ -d "$INIT_D" -o -n "$DESTDIR" ] ; then - $INSTALL -d -m 755 "$INIT_D" - if ( ! $INSTALL -m 755 etc/init.d/laptop-mode "$INIT_D" ) ; then - echo "$0: failed to install init script in $INIT_D. Installation failed." + $INSTALL -d -m 755 "$DESTDIR/$INIT_D" + if ( ! $INSTALL -m 755 etc/init.d/laptop-mode "$DESTDIR/$INIT_D" ) ; then + echo "$0: failed to install init script in $DESTDIR/$INIT_D. Installation failed." exit 16 fi if [ -f "$DESTDIR/etc/rcS.d/S99laptop_mode" ] ; then
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor