Permalink
Browse files

Use group of access log, as should have correct ownership if exists

  • Loading branch information...
simoncadman committed Feb 23, 2014
1 parent a22066d commit 6fe73106f1d6bbefec7ca1709608978d71903ad5
Showing with 9 additions and 9 deletions.
  1. +1 −1 backend.py
  2. +1 −1 ccputils.py
  3. +1 −1 deleteaccount.py
  4. +1 −1 dynamicppd.py
  5. +1 −1 listcloudprinters.py
  6. +1 −1 listdrivefiles.py
  7. +1 −1 reportissues.py
  8. +1 −1 setupcloudprint.py
  9. +1 −1 upgrade.py
View
@@ -22,7 +22,7 @@
if len(sys.argv) == 2 and sys.argv[1] == 'version':
# line below is replaced on commit
- CCPVersion = "20140223 154234"
+ CCPVersion = "20140223 155442"
print "CUPS Cloud Print CUPS Backend Version " + CCPVersion
sys.exit(0)
View
@@ -100,7 +100,7 @@ def which(program):
def GetLPID(default='lp', alternative='cups', useFiles=True):
if useFiles:
# check files in order
- for cupsConfigFile in [ '/etc/cups/ppd', '/usr/local/etc/cups/ppd' ]:
+ for cupsConfigFile in [ '/var/log/cups/access_log', '/etc/cups/ppd', '/usr/local/etc/cups/ppd' ]:
if os.path.exists(cupsConfigFile):
return os.stat(cupsConfigFile).st_gid
View
@@ -22,7 +22,7 @@
if len(sys.argv) == 2 and sys.argv[1] == 'version':
# line below is replaced on commit
- CCPVersion = "20140223 154234"
+ CCPVersion = "20140223 155442"
print "CUPS Cloud Print Delete Account Script Version " + CCPVersion
sys.exit(0)
View
@@ -20,7 +20,7 @@
if len(sys.argv) == 2 and sys.argv[1] == 'version':
# line below is replaced on commit
- CCPVersion = "20140223 154234"
+ CCPVersion = "20140223 155442"
print "CUPS Cloud Print Dynamic PPD Generator Version " + CCPVersion
sys.exit(0)
View
@@ -26,7 +26,7 @@
if len(sys.argv) == 2 and sys.argv[1] == 'version':
# line below is replaced on commit
- CCPVersion = "20140223 154234"
+ CCPVersion = "20140223 155442"
print "CUPS Cloud Print Printer Lister Version " + CCPVersion
sys.exit(0)
View
@@ -22,7 +22,7 @@
if len(sys.argv) == 2 and sys.argv[1] == 'version':
# line below is replaced on commit
- CCPVersion = "20140223 154234"
+ CCPVersion = "20140223 155442"
print "CUPS Cloud Print Printer Drive Lister Version " + CCPVersion
sys.exit(0)
View
@@ -21,7 +21,7 @@
if len(sys.argv) == 2 and sys.argv[1] == 'version':
# line below is replaced on commit
- CCPVersion = "20140223 154234"
+ CCPVersion = "20140223 155442"
print "CUPS Cloud Print Issue Reporting Script Version " + CCPVersion
sys.exit(0)
View
@@ -22,7 +22,7 @@
if len(sys.argv) == 2 and sys.argv[1] == 'version':
# line below is replaced on commit
- CCPVersion = "20140223 154234"
+ CCPVersion = "20140223 155442"
print "CUPS Cloud Print Setup Script Version " + CCPVersion
sys.exit(0)
View
@@ -34,7 +34,7 @@
printerItem = Printer(requestors)
# line below is replaced on commit
- CCPVersion = "20140223 154234"
+ CCPVersion = "20140223 155442"
if len(sys.argv) == 2 and sys.argv[1] == 'version':
print "CUPS Cloud Print Upgrade Script Version " + CCPVersion

0 comments on commit 6fe7310

Please sign in to comment.