[paketler-commits] r27322 - playground/onur/applications/powermanagement/nut
paketler-commits at pardus.org.tr
paketler-commits at pardus.org.tr
14 Haz 2007 Per 21:33:10 EEST
Author: onur
Date: Thu Jun 14 21:33:10 2007
New Revision: 27322
Modified:
playground/onur/applications/powermanagement/nut/actions.py
Log:
comment cosmetics
Modified: playground/onur/applications/powermanagement/nut/actions.py
=================================================================
--- playground/onur/applications/powermanagement/nut/actions.py (original)
+++ playground/onur/applications/powermanagement/nut/actions.py Thu Jun 14 21:33:10 2007
@@ -57,21 +57,20 @@
autotools.rawInstall("DESTDIR=%s install-cgi" % get.installDIR())
autotools.rawInstall("DESTDIR=%s install-cgi-conf" % get.installDIR())
- # for the scripts, this is for safely unmounting /usr but I am not sure about it
+ # needed by scripts, this trick is for safely unmounting /usr
pisitools.dosym("/lib/nut/upsdrvctl", "/usr/sbin/upsdrvctl")
- # Nut's own statedir
+ # nut's own statedir
pisitools.dodir(nutconfig["STATE_PATH"])
- shelltools.chmod("%s/%s" % (get.installDIR(), nutconfig["STATE_PATH"]), 0700)
+ shelltools.chmod("%s/%s" % (get.installDIR(), nutconfig["STATE_PATH"]), 0770)
- # Let configs work
+ # let configs work
for f in shelltools.ls("%s/%s/*.sample" % (get.installDIR(), nutconfig["CONF_DIR"])):
_file = shelltools.baseName(f)
pisitools.rename("%s/%s" % (nutconfig["CONF_DIR"], _file), _file[:-7])
-
+ # docs examples and cable diagrams
pisitools.dodoc("ChangeLog", "CREDITS", "MAINTAINERS", "NEWS", "README", "UPGRADING", "docs/FAQ", "docs/*.txt")
pisitools.newdoc("lib/README", "README.lib")
pisitools.insinto("%s/%s" % (get.docDIR(), get.srcTAG()), "docs/cables")
-
Paketler-commits mesaj listesiyle ilgili
daha fazla bilgi