From 7e638c9c4a89e89cc1c4bd2f35fd63fc3cc3c181 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 17 Jun 2026 12:24:55 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Sync=202026-06-17=2012:24:55?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- luci-app-run/Makefile | 2 +- luci-app-run/root/usr/libexec/rpcd/luci-app-run | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/luci-app-run/Makefile b/luci-app-run/Makefile index d72b125aa..13714bb18 100644 --- a/luci-app-run/Makefile +++ b/luci-app-run/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-run PKG_VERSION:=1.0.0 -PKG_RELEASE:=1 +PKG_RELEASE:=2 LUCI_TITLE:=LuCI support for running makeself .run installers LUCI_DESCRIPTION:=Upload and execute makeself-generated .run installers from LuCI. diff --git a/luci-app-run/root/usr/libexec/rpcd/luci-app-run b/luci-app-run/root/usr/libexec/rpcd/luci-app-run index 74d9e1881..2a7990c24 100755 --- a/luci-app-run/root/usr/libexec/rpcd/luci-app-run +++ b/luci-app-run/root/usr/libexec/rpcd/luci-app-run @@ -131,8 +131,8 @@ upload_start() { local clean id token dir file clean="$(sanitize_name "$filename")" case "$clean" in - *.run) ;; - *) json_error "Only .run files are accepted"; return ;; + *.run|*.sh) ;; + *) json_error "Only .run and .sh files are accepted"; return ;; esac id="$(date +%s)_$$"