Update tailscale.patch

This commit is contained in:
kiddin9 authored and GitHub committed 2026-09-29 07:35:01 +08:00
1 parent 085188d2d1
commit 24a16cdcd1
1 file changed
+5 -12
+5 -12
View File
@@ -1,16 +1,9 @@
--- a/luci-app-tailscale/Makefile
+++ b/luci-app-tailscale/Makefile
@@ -7,107 +7,40 @@ include $(TOPDIR)/rules.mk
LUCI_TITLE:=LuCI for Tailscale
LUCI_DEPENDS:=+tailscale +jshn +curl +jq +flock
LUCI_PKGARCH:=all
-
PKG_VERSION:=1.2.17
-# Keep UCI configs as ordinary package data. The pre-install hook snapshots an
-# existing configuration before extraction; the UCI-defaults script restores it
-# afterwards. Declaring the same files as opkg conffiles conflicts with this
-# lifecycle and creates inactive *-opkg files during upgrades.
@@ -14,100 +14,39 @@ PKG_VERSION:=1.2.17
# existing configuration before extraction; the UCI-defaults script restores it
# afterwards. Declaring the same files as opkg conffiles conflicts with this
# lifecycle and creates inactive *-opkg files during upgrades.
-define Package/luci-app-tailscale/preinst
-#!/bin/sh
-state_dir=/etc/.luci-app-tailscale-upgrade
@@ -30,7 +23,7 @@
- else
- rm -f "$${backup_file}" 2>/dev/null || true
- fi
-
- # Disabling the duplicate starter is mandatory even when its backup fails.
- # chmod is a last-resort guard for a transient remove failure; package
- # extraction will subsequently remove the obsolete package-owned path.