Ignore:
Timestamp:
Mar 20, 2017, 8:16:06 AM (2 years ago)
Author:
jrpelegrina
Message:

Fix some files and reorder folder to correct package

Location:
lliurex-gdrive/trunk/fuentes/lliurex-gdrive-indicator.install/usr
Files:
6 added
1 edited

Legend:

Unmodified
Added
Removed
  • lliurex-gdrive/trunk/fuentes/lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator

    r3981 r3993  
    2525_ = gettext.gettext
    2626
    27 LOCK_PATH="~/.config/lliurex-google-drive-profiles/lgdIndicator.lock"
     27LOCK_PATH="/tmp/lgdIndicator.lock"
    2828RSRC="/usr/share/lliurex-gdrive/"
    2929MOUNT_ON_IMAGE=RSRC+"rsrc/mount_on.png"
     
    3232class LlliurexGdriveIndicator:
    3333
    34         WATCH_DIR=os.path.expanduser("~/.config/lliurex-google-drive-profiles/config_profiles")
     34        WATCH_DIR=os.path.expanduser("~/.config/lliurex-google-drive-profiles/configProfiles")
    3535       
    3636        def __init__(self,icon_name):
     
    5959        def createLockToken(self):
    6060
    61                 self.lockpath=os.path.expanduser(LOCK_PATH)
    62                 if not os.path.exists(self.lockpath):
    63                         f=open(self.lockpath,'w')
     61                #self.lockpath=os.path(LOCK_PATH)
     62                if not os.path.exists(LOCK_PATH):
     63                        f=open(LOCK_PATH,'w')
    6464                        f.close
    6565
     
    316316        def cleanIndicatorLock(self):
    317317
    318                 if os.path.exists(self.lockpath):
    319                         os.remove(self.lockpath)
     318                if os.path.exists(LOCK_PATH):
     319                        os.remove(LOCK_PATH)
    320320
    321321        #def cleanIndicatorLock                 
Note: See TracChangeset for help on using the changeset viewer.