diff options
Diffstat (limited to 'tupkg/update/tupkgupdate-lite')
-rwxr-xr-x | tupkg/update/tupkgupdate-lite | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/tupkg/update/tupkgupdate-lite b/tupkg/update/tupkgupdate-lite index f0fe0225..51e40917 100755 --- a/tupkg/update/tupkgupdate-lite +++ b/tupkg/update/tupkgupdate-lite @@ -1,14 +1,20 @@ #!/usr/bin/python -O -import re, os, sys, pacman, getopt, glob -import MySQLdb, MySQLdb.connections +import re +import os +import sys +import pacman +import getopt +import glob +import MySQLdb +import MySQLdb.connections import ConfigParser ########################################################### # Deal with configuration ########################################################### -conffile = '/home/aur/tupkgs.conf' +conffile = '/etc/tupkgs.conf' if not os.path.isfile(conffile): print "Error: cannot access config file ("+conffile+")" |