Fixed bug with notifyrc

This commit is contained in:
arcan1s 2013-10-22 16:53:49 +04:00
parent b7f4b80c7e
commit 60f1cd8c58
3 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ makedepends=('automoc4' 'cmake')
source=(https://github.com/arcan1s/pytextmonitor/releases/download/V.${pkgver}/${_pkgname}-${pkgver}.plasmoid
https://github.com/arcan1s/pytextmonitor/releases/download/V.${pkgver}/${_dtengine}-${_dtver}.zip)
install=${pkgname}.install
md5sums=('988704016573b215bb36b62762075fee'
md5sums=('67f3e3b55992048bd519867a9e94da37'
'3182acdadb3b498be929b3cadad92206')
build ()

Binary file not shown.

View File

@ -41,7 +41,7 @@ class pyTextWidget(plasmascript.Applet):
self.setHasConfigurationInterface(True)
# Create notifyrc file if required
kdehome = unicode(KGlobal.dirs().localkdedir())
if ((not os.path.exists(kdehome + "/share/apps/plasma_applet_pytextmonitor/plasma_applet_pytextmonitor.notifyrc")) or
if ((not os.path.exists(kdehome + "/share/apps/plasma_applet_pytextmonitor/plasma_applet_pytextmonitor.notifyrc")) and
(not os.path.exists("/usr" + "/share/apps/plasma_applet_pytextmonitor/plasma_applet_pytextmonitor.notifyrc"))):
self.createNotifyrc(kdehome)