system-tools: set executable flag of 7z/7za

This commit is contained in:
mglae 2022-03-20 12:11:33 +01:00
parent 45a401bb02
commit bd9ceeaa8b
2 changed files with 6 additions and 2 deletions

View File

@ -1,2 +1,4 @@
#!/bin/sh
exec /storage/.kodi/addons/virtual.system-tools/lib/p7zip/7z "$@"
file=/storage/.kodi/addons/virtual.system-tools/lib/p7zip/7z
[ ! -x ${file} ] && chmod +x ${file}
exec ${file} "$@"

View File

@ -1,2 +1,4 @@
#!/bin/sh
exec /storage/.kodi/addons/virtual.system-tools/lib/p7zip/7za "$@"
file=/storage/.kodi/addons/virtual.system-tools/lib/p7zip/7za
[ ! -x ${file} ] && chmod +x ${file}
exec ${file} "$@"