Commit 9e4db386 authored by ale's avatar ale

Create /var/lib/ dir on postinstall

parent eab95733
Pipeline #5502 passed with stages
in 4 minutes and 48 seconds
...@@ -22,10 +22,15 @@ set_capabilities() { ...@@ -22,10 +22,15 @@ set_capabilities() {
setcap cap_net_bind_service=+ep /usr/bin/radiod setcap cap_net_bind_service=+ep /usr/bin/radiod
} }
create_rundir() {
install -d -m 700 -o icecast2 /var/lib/autoradio
}
case "$1" in case "$1" in
configure) configure)
set_capabilities set_capabilities
create_rundir
;; ;;
abort-upgrade|abort-remove|abort-deconfigure) abort-upgrade|abort-remove|abort-deconfigure)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment