Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2017-07-14 00:43:13 +0300
committernachoparker <nacho@ownyourbits.com>2017-08-11 00:17:51 +0300
commit41e71b4cbb02a9c3d0be01d25dd49aa39d06b8c8 (patch)
treeb8a56b7d52bab9298a6b2d188c6c41b5b093d6ac /etc/library.sh
parentc0a69703aeaf84f8bdad6e9d64d44d1719a77521 (diff)
added ncp-webv0.17.0
Diffstat (limited to 'etc/library.sh')
-rwxr-xr-xetc/library.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/etc/library.sh b/etc/library.sh
index 1823cddc..2e25b1ef 100755
--- a/etc/library.sh
+++ b/etc/library.sh
@@ -205,10 +205,16 @@ function install_script()
function activate_script()
{
+ local SCRIPT=$1
+ echo -e "Activating \e[1m$( basename $SCRIPT .sh )\e[0m"
+ launch_script $SCRIPT
+}
+
+function launch_script()
+{
(
local SCRIPT=$1
source ./$SCRIPT
- echo -e "Activating \e[1m$( basename $SCRIPT .sh )\e[0m"
set +x
configure
)