fix path problems
This commit is contained in:
parent
ee86e24768
commit
bf45bdec93
2
PKGBUILD
2
PKGBUILD
|
@ -23,7 +23,7 @@ package() {
|
|||
install -Dm755 ${srcdir}/welcome.py ${pkgdir}/usr/share/tromjaro-welcome-app
|
||||
|
||||
install -d ${pkgdir}/usr/bin
|
||||
ln -s ${pkgdir}/usr/share/tromjaro-welcome-app/welcome.py ${pkgdir}/usr/bin/tromjaro-welcome-app
|
||||
ln -s /usr/share/tromjaro-welcome-app/welcome.py ${pkgdir}/usr/bin/tromjaro-welcome-app
|
||||
|
||||
install -d ${pkgdir}/usr/share/applications
|
||||
install -Dm644 ${srcdir}/tromjaro-welcome-app.desktop ${pkgdir}/usr/share/applications
|
||||
|
|
|
@ -11,7 +11,7 @@ from gi.repository import Gtk, Gdk, Gio
|
|||
workdir_path = os.path.dirname(os.path.realpath(__file__))
|
||||
|
||||
def resolve_workdir_path(filename):
|
||||
return os.path.join(dir_path, filename)
|
||||
return os.path.join(workdir_path, filename)
|
||||
|
||||
DESKTOP_FILE = "tromjaro-welcome-app.desktop"
|
||||
DESKTOP_FILE_PATH = os.path.join("/usr/share/applications", DESKTOP_FILE)
|
||||
|
|
Loading…
Reference in New Issue
Block a user