Commits

Simone Dalla  committed 2915646

Corretti bug sulla variabile 'ABSOLUTH_PATH'.

  • Participants
  • Parent commits 4aaaa90

Comments (0)

Files changed (2)

File media/mount-smb-shares.desktop

 Type=Application
 Terminal=false
 Icon[en_US]=gksu
-Exec=gksu mount-smb-shares.py
+Exec=gksu mount-smb-shares
 Name[en_US]=Monta cartelle di rete
 Comment[en_US]=Monta cartelle di rete
 Name=Monta cartelle di rete
     from setuptools import setup, find_packages
 
 
-version = '0.1.4'
+version = '0.1.4.1'
 
 setup(
     name = 'PyGmount',
 if 'install' in sys.argv:
     ABSOLUTE_PATH = '%s' % os.path.abspath(
         os.path.dirname(__file__)).replace('\\','/')
-
+    print ABSOLUTE_PATH
     desktop_applications = '/usr/share/applications/'
     if os.path.exists(desktop_applications):
         try:
+            print ABSOLUTE_PATH + '/media/mount-smb-shares.desktop'
             shutil.copy(ABSOLUTE_PATH + '/media/mount-smb-shares.desktop',
                         desktop_applications)
         except IOError:
+            traceback.print_exc(file=sys.stdout)
             logging.error(u"Non si hanno i diritti di copiare il"\
                           u" file 'lanciatore' per il menù")