diff options
author | Balazs Vinarz | 2019-02-23 10:41:59 +0100 |
---|---|---|
committer | Balazs Vinarz | 2019-02-23 10:41:59 +0100 |
commit | 63cce24373f9917dc89864e04a5c830ecb7dcba4 (patch) | |
tree | c1debe1d4005fcd8d3c11d139f762e3be3e88bd9 | |
parent | 9661c6355d90360ca941bcd3fd0faf48213825b6 (diff) | |
download | aur-63cce24373f9917dc89864e04a5c830ecb7dcba4.tar.gz |
use the /opt/lglaf dir, when running the starter script
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = lglaf pkgdesc = LGLAF.py is a utility for communication with LG devices in Download Mode. This allows you to execute arbitrary shell commands on a LG phone as root. pkgver = 20180317 - pkgrel = 1 + pkgrel = 2 url = https://github.com/Lekensteyn/lglaf arch = i686 arch = x86_64 @@ -2,7 +2,7 @@ pkgname=lglaf pkgver=20180317 -pkgrel=1 +pkgrel=2 pkgdesc="LGLAF.py is a utility for communication with LG devices in Download Mode. This allows you to execute arbitrary shell commands on a LG phone as root." arch=(i686 x86_64) url="https://github.com/Lekensteyn/lglaf" @@ -27,6 +27,6 @@ package() { mkdir -p "${pkgdir}"/etc/udev/rules.d/ install -Dm644 "${srcdir}"/lglaf-master/rules.d/42-usb-lglaf.rules "${pkgdir}"/etc/udev/rules.d/ mkdir -p "${pkgdir}"/usr/bin/ - echo -e '#!/bin/bash\npython2.7 /opt/lglaf/lglaf.py' > "${pkgdir}"/usr/bin/lglaf + echo -e '#!/bin/bash\ncd /opt/lglaf\npython2.7 /opt/lglaf/lglaf.py' > "${pkgdir}"/usr/bin/lglaf chmod +x "${pkgdir}"/usr/bin/lglaf } |