mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-09 00:23:52 +02:00
ndhc: fix absolute paths in INSTALL/REMOVE scripts
This commit is contained in:
parent
5d397d79fa
commit
53a6b4f8f7
2 changed files with 4 additions and 4 deletions
|
@ -1,8 +1,8 @@
|
||||||
case "$ACTION" in
|
case "$ACTION" in
|
||||||
post)
|
post)
|
||||||
rm -f /var/lib/ndhc/jail/dev/null /var/lib/ndhc/jail/dev/random
|
rm -f var/lib/ndhc/jail/dev/null var/lib/ndhc/jail/dev/random
|
||||||
mknod /var/lib/ndhc/jail/dev/null c 1 3
|
mknod var/lib/ndhc/jail/dev/null c 1 3
|
||||||
mknod /var/lib/ndhc/jail/dev/random c 1 9
|
mknod var/lib/ndhc/jail/dev/random c 1 9
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'ndhc'
|
# Template file for 'ndhc'
|
||||||
pkgname=ndhc
|
pkgname=ndhc
|
||||||
version=20180218
|
version=20180218
|
||||||
revision=1
|
revision=2
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
make_dirs="/var/lib/ndhc/state 0755 root root
|
make_dirs="/var/lib/ndhc/state 0755 root root
|
||||||
/var/lib/ndhc/jail/dev 0755 root root"
|
/var/lib/ndhc/jail/dev 0755 root root"
|
||||||
|
|
Loading…
Add table
Reference in a new issue