Browse Source

Support hestia module install ...

Ernesto Nicolás Carrea 5 years ago
parent
commit
f8e704a3b2
2 changed files with 14 additions and 0 deletions
  1. 7 0
      bin/module/install.inc
  2. 7 0
      bin/module/remove.inc

+ 7 - 0
bin/module/install.inc

@@ -0,0 +1,7 @@
+#!/bin/sh
+
+hestia_module_install() {
+    module_name=$1
+    shift
+    $BIN/hestia module $module_name install "$@"
+}

+ 7 - 0
bin/module/remove.inc

@@ -0,0 +1,7 @@
+#!/bin/sh
+
+hestia_module_remove() {
+    module_name=$1
+    shift
+    $BIN/hestia module $module_name remove "$@"
+}