mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-01 04:33:56 +08:00
🎨 Sync 2026-06-17 12:24:55
This commit is contained in:
1 parent
96226d7baa
commit
7e638c9c4a
2 files changed
+3
-3
No files matched your search
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=luci-app-run
|
PKG_NAME:=luci-app-run
|
||||||
PKG_VERSION:=1.0.0
|
PKG_VERSION:=1.0.0
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
LUCI_TITLE:=LuCI support for running makeself .run installers
|
LUCI_TITLE:=LuCI support for running makeself .run installers
|
||||||
LUCI_DESCRIPTION:=Upload and execute makeself-generated .run installers from LuCI.
|
LUCI_DESCRIPTION:=Upload and execute makeself-generated .run installers from LuCI.
|
||||||
|
|||||||
@@ -131,8 +131,8 @@ upload_start() {
|
|||||||
local clean id token dir file
|
local clean id token dir file
|
||||||
clean="$(sanitize_name "$filename")"
|
clean="$(sanitize_name "$filename")"
|
||||||
case "$clean" in
|
case "$clean" in
|
||||||
*.run) ;;
|
*.run|*.sh) ;;
|
||||||
*) json_error "Only .run files are accepted"; return ;;
|
*) json_error "Only .run and .sh files are accepted"; return ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
id="$(date +%s)_$$"
|
id="$(date +%s)_$$"
|
||||||
|
|||||||
Reference in new issue
Block a user