From ddee5b4c42697cb17728cbe31987ca5feecf7576 Mon Sep 17 00:00:00 2001 From: Derek Macias Date: Mon, 15 Feb 2016 13:09:13 -0700 Subject: [PATCH] add symlink and permissions to package install --- source/NerdPack/install/doinst.sh | 2 ++ .../usr/local/emhttp/plugins/NerdPack/scripts/packagemanager | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/source/NerdPack/install/doinst.sh b/source/NerdPack/install/doinst.sh index 1a248525..6d0ebe27 100644 --- a/source/NerdPack/install/doinst.sh +++ b/source/NerdPack/install/doinst.sh @@ -1 +1,3 @@ #!/bin/sh +ln -sf /usr/local/emhttp/plugins/NerdPack/scripts/packagemanager /usr/sbin/packagemanager +chmod +0755 /usr/sbin/packagemanager diff --git a/source/NerdPack/usr/local/emhttp/plugins/NerdPack/scripts/packagemanager b/source/NerdPack/usr/local/emhttp/plugins/NerdPack/scripts/packagemanager index 13f5b34a..9e0f4d71 100755 --- a/source/NerdPack/usr/local/emhttp/plugins/NerdPack/scripts/packagemanager +++ b/source/NerdPack/usr/local/emhttp/plugins/NerdPack/scripts/packagemanager @@ -120,5 +120,5 @@ foreach ($pkg_cfg as $pkg_name => $pkg_pref) { // get preferences for each packa logger("$pkg_name package up to date", $argq); } -logger('All packages processed '); +logger('All packages processed...'); ?> \ No newline at end of file