mirror of
https://github.com/kenzok8/small-package.git
synced 2026-01-17 21:01:21 +08:00
17 lines
630 B
Bash
Executable File
17 lines
630 B
Bash
Executable File
#!/bin/bash
|
|
# --------------------------------------------------------
|
|
# Script for creating ACL file for each LuCI APP
|
|
sed -i \
|
|
-e 's?include \.\./\.\./\(lang\|devel\)?include $(TOPDIR)/feeds/packages/\1?' \
|
|
-e "s/\(PKG_HASH\|PKG_MD5SUM\|PKG_MIRROR_HASH\):=.*/\1:=skip/" \
|
|
-e 's?2. Clash For OpenWRT?3. Applications?' \
|
|
-e 's?\.\./\.\./luci.mk?$(TOPDIR)/feeds/luci/luci.mk?' \
|
|
-e 's/ca-certificates/ca-bundle/' \
|
|
*/Makefile
|
|
bash diy/create_acl_for_luci.sh -a >/dev/null 2>&1
|
|
bash diy/convert_translation.sh -a >/dev/null 2>&1
|
|
rm -rf create_acl_for_luci.err & rm -rf create_acl_for_luci.ok
|
|
rm -rf create_acl_for_luci.warn
|
|
|
|
exit 0
|