From f34609a90a5ffb46edd0c2ad8605c95e2b926e49 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 13 Mar 2024 14:11:56 +0800 Subject: [PATCH] update 2024-03-13 14:11:56 --- luci-app-plex/simple-install.sh | 27 --------------------------- luci-app-ubuntu/simple-install.sh | 15 --------------- 2 files changed, 42 deletions(-) delete mode 100755 luci-app-plex/simple-install.sh delete mode 100755 luci-app-ubuntu/simple-install.sh diff --git a/luci-app-plex/simple-install.sh b/luci-app-plex/simple-install.sh deleted file mode 100755 index d930b3f3e..000000000 --- a/luci-app-plex/simple-install.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/sh - -# run in router -APPNAME=$1 - -CURR=`pwd` -if [ -z "${APPNAME}" ]; then - APPNAME=`basename "$CURR"|cut -d '-' -f 3` -fi - -if [ -z "${APPNAME}" ]; then - echo "please run in luci-app-xxx paths" - exit 1 -fi - -if [ ! -d luasrc ]; then - echo "luasrc not found, please run in luci-app-xxx paths" - exit 1 -fi - -mkdir -p /usr/lib/lua/luci/view/${APPNAME} -cp ./luasrc/controller/${APPNAME}.lua /usr/lib/lua/luci/controller/ -cp ./luasrc/view/${APPNAME}/* /usr/lib/lua/luci/view/${APPNAME}/ -cp -rf ./luasrc/model/* /usr/lib/lua/luci/model/ -cp -rf ./root/* / -rm -rf /tmp/luci-* - diff --git a/luci-app-ubuntu/simple-install.sh b/luci-app-ubuntu/simple-install.sh deleted file mode 100755 index f8281c0fd..000000000 --- a/luci-app-ubuntu/simple-install.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -# run in router -APPNAME=$1 - -if [ -z "${APPNAME}" ]; then - APPNAME=ubuntu -fi - -mkdir -p /usr/lib/lua/luci/view/${APPNAME} -cp ./luasrc/controller/${APPNAME}.lua /usr/lib/lua/luci/controller/ -cp ./luasrc/view/${APPNAME}/* /usr/lib/lua/luci/view/${APPNAME}/ -cp -rf ./root/* / -rm -rf /tmp/luci-* -