mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-31 23:25:13 +08:00
Update tailscale.patch
This commit is contained in:
1 parent
a8e41fedcd
commit
2efda3ba19
1 file changed
+5
-12
@@ -1,16 +1,9 @@
|
|||||||
--- a/luci-app-tailscale/Makefile
|
--- a/luci-app-tailscale/Makefile
|
||||||
+++ b/luci-app-tailscale/Makefile
|
+++ b/luci-app-tailscale/Makefile
|
||||||
@@ -7,107 +7,40 @@ include $(TOPDIR)/rules.mk
|
@@ -14,100 +14,39 @@ PKG_VERSION:=1.2.17
|
||||||
LUCI_TITLE:=LuCI for Tailscale
|
# existing configuration before extraction; the UCI-defaults script restores it
|
||||||
LUCI_DEPENDS:=+tailscale +jshn +curl +jq +flock
|
# afterwards. Declaring the same files as opkg conffiles conflicts with this
|
||||||
LUCI_PKGARCH:=all
|
# lifecycle and creates inactive *-opkg files during upgrades.
|
||||||
-
|
|
||||||
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.
|
|
||||||
-define Package/luci-app-tailscale/preinst
|
-define Package/luci-app-tailscale/preinst
|
||||||
-#!/bin/sh
|
-#!/bin/sh
|
||||||
-state_dir=/etc/.luci-app-tailscale-upgrade
|
-state_dir=/etc/.luci-app-tailscale-upgrade
|
||||||
@@ -30,7 +23,7 @@
|
|||||||
- else
|
- else
|
||||||
- rm -f "$${backup_file}" 2>/dev/null || true
|
- rm -f "$${backup_file}" 2>/dev/null || true
|
||||||
- fi
|
- fi
|
||||||
-
|
|
||||||
- # Disabling the duplicate starter is mandatory even when its backup fails.
|
- # Disabling the duplicate starter is mandatory even when its backup fails.
|
||||||
- # chmod is a last-resort guard for a transient remove failure; package
|
- # chmod is a last-resort guard for a transient remove failure; package
|
||||||
- # extraction will subsequently remove the obsolete package-owned path.
|
- # extraction will subsequently remove the obsolete package-owned path.
|
||||||
|
|||||||
Reference in new issue
Block a user