Skip to content

Commit

Permalink
ddns-scripts_dnspod: update with luci upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
coolsnowwolf committed Oct 28, 2024
1 parent 68d77af commit 7e49db2
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package/lean/ddns-scripts_dnspod/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ define Build/Configure
endef

define Build/Compile
$(CP) ./*.sh $(PKG_BUILD_DIR)
endef

define Package/ddns-scripts_dnspod/preinst
Expand All @@ -39,8 +38,9 @@ define Package/ddns-scripts_dnspod/preinst
endef

define Package/ddns-scripts_dnspod/install
$(INSTALL_DIR) $(1)/usr/lib/ddns
$(INSTALL_BIN) $(PKG_BUILD_DIR)/*.sh $(1)/usr/lib/ddns
$(INSTALL_DIR) $(1)/usr/lib/ddns $(1)/usr/share/ddns/default
$(INSTALL_BIN) $(CURDIR)/*.sh $(1)/usr/lib/ddns
$(INSTALL_DATA) $(CURDIR)/*.json $(1)/usr/share/ddns/default
endef

define Package/ddns-scripts_dnspod/postinst
Expand Down
9 changes: 9 additions & 0 deletions package/lean/ddns-scripts_dnspod/dnspod.cn.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "dnspod.com",
"ipv4": {
"url": "update_dnspod_cn.sh"
},
"ipv6": {
"url": "update_dnspod_cn.sh"
}
}
9 changes: 9 additions & 0 deletions package/lean/ddns-scripts_dnspod/dnspod.com.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "dnspod.com",
"ipv4": {
"url": "update_dnspod_com.sh"
},
"ipv6": {
"url": "update_dnspod_com.sh"
}
}

0 comments on commit 7e49db2

Please sign in to comment.