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

This commit is contained in:
mglae 2022-03-20 11:49:09 +01:00
parent 2ae6ab9919
commit cb854d7a1b
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} "$@"