summarylogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
Diffstat (limited to 'install')
-rw-r--r--install19
1 files changed, 19 insertions, 0 deletions
diff --git a/install b/install
new file mode 100644
index 000000000000..6cfd42af998f
--- /dev/null
+++ b/install
@@ -0,0 +1,19 @@
+post_install() {
+ cat << EOF
+==> Make possible settimer.sh runs under root/sudo privileges without password
+ > run sudo visudo
+ > Append:
+Cmnd_Alias PVR_CMDS = /usr/share/kodi/addons/service.hts.pvrmanager/resources/lib/*.sh
+$<kodi user> ALL=NOPASSWD: PVR_CMDS
+
+==> Read https://github.com/Helly1206/service.hts.pvrmanager/blob/master/README.txt for more informations
+EOF
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+op=$1
+shift
+$op $*