forked from hasufell/hasufell-repository
net-firewall/pglinux: use exparts for openrc scripts
This commit is contained in:
parent
f080580002
commit
4128ff5c06
@ -4,6 +4,7 @@
|
|||||||
MY_PNV="pgl-${PV}"
|
MY_PNV="pgl-${PV}"
|
||||||
|
|
||||||
require systemd-service
|
require systemd-service
|
||||||
|
require openrc-service
|
||||||
require gtk-icon-cache
|
require gtk-icon-cache
|
||||||
require sourceforge [ project=peerguardian suffix=tar.gz ]
|
require sourceforge [ project=peerguardian suffix=tar.gz ]
|
||||||
|
|
||||||
@ -79,5 +80,7 @@ src_install() {
|
|||||||
keepdir /var/{lib,log,spool}/pgl
|
keepdir /var/{lib,log,spool}/pgl
|
||||||
keepdir /etc/pgl/blocklists.local
|
keepdir /etc/pgl/blocklists.local
|
||||||
edo rm -r "${IMAGE%/}"/{tmp,run}
|
edo rm -r "${IMAGE%/}"/{tmp,run}
|
||||||
|
|
||||||
|
openrc_expart /etc/init.d/pgl
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user