mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-31 04:05:13 +08:00
🤞 Sync 2026-08-10 09:21:08
This commit is contained in:
1 parent
c463113ea9
commit
2f0ec626c4
17 files changed
+392
-118
No files matched your search
+11
-2
@@ -10,8 +10,8 @@ include $(TOPDIR)/rules.mk
|
||||
PKG_ARCH_ghttpd:=$(ARCH)
|
||||
|
||||
PKG_NAME:=ghttpd
|
||||
PKG_VERSION:=0.0.2
|
||||
PKG_RELEASE:=4
|
||||
PKG_VERSION:=0.0.3
|
||||
PKG_RELEASE:=5
|
||||
PKG_SOURCE:=$(PKG_NAME)-binary-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://github.com/Carseason/openwrt-packages/releases/download/prebuilt/
|
||||
PKG_HASH:=skip
|
||||
@@ -49,6 +49,15 @@ if [ -z "$${IPKG_INSTROOT}" ]; then
|
||||
fi
|
||||
endef
|
||||
|
||||
define Package/$(PKG_NAME)/postrm
|
||||
#!/bin/sh
|
||||
for service in uhttpd nginx; do
|
||||
[ -x "/etc/init.d/$$service" ] || continue
|
||||
"/etc/init.d/$$service" enabled && "/etc/init.d/$$service" restart
|
||||
done
|
||||
exit 0
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
endef
|
||||
|
||||
|
||||
Reference in new issue
Block a user