Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Slowroll:Build:2
apcupsd
apcupsd-suse.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File apcupsd-suse.patch of Package apcupsd
--- a/platforms/suse/Makefile +++ b/platforms/suse/Makefile @@ -11,14 +11,8 @@ # unlink old rc script (if not doing a DESTDIR install) $(call CHKCFG,del,/etc/rc.d/apcupsd) # install new rc script - $(call MKDIR,/etc/rc.d) - $(call INSTDATA,744,apcupsd,/etc/rc.d) - # save old halt script - $(call COPY,/etc/rc.d/halt,/etc/rc.d/halt.old) - # insert apcupsd callout into halt script - @echo " PATCH" $(DESTDIR)/etc/rc.d/halt - $(V)awk -f awkhaltprog $(DESTDIR)/etc/rc.d/halt.old >$(DESTDIR)/etc/rc.d/halt - $(V)chmod 744 $(DESTDIR)/etc/rc.d/halt + $(call MKDIR,/etc/init.d) + $(call INSTDATA,744,apcupsd,/etc/init.d) # link new rc script (if not doing a DESTDIR install) $(call CHKCFG,add,/etc/rc.d/apcupsd) @echo "=================================================" @@ -39,7 +33,5 @@ uninstall-suse: # unlink old rc script (if not doing a DESTDIR install) - -$(call CHKCFG,del,/etc/rc.d/apcupsd) - -$(call UNINST,/etc/rc.d/apcupsd) - -$(call COPY,$(DESTDIR)/etc/rc.d/halt.old,/etc/rc.d/halt) - -$(call UNINST,/etc/rc.d/halt.old) + -$(call CHKCFG,del,/etc/init.d/apcupsd) + -$(call UNINST,/etc/init.d/apcupsd)
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