Add snap install hook to seed default config
Signed-off-by: Ondrej Kubik <ondrej.kubik@canonical.com>
This commit is contained in:
parent
cbc7d5b08b
commit
e7e4868847
1 changed files with 6 additions and 0 deletions
6
build-aux/snap/hooks/install
Executable file
6
build-aux/snap/hooks/install
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
# copy default config to editable location
|
||||
mkdir -p ${SNAP_COMMON}/etc/ddclient
|
||||
cp ${SNAP}/etc/ddclient/ddclient.conf ${SNAP_COMMON}/etc/ddclient/ddclient.conf
|
||||
chmod 600 ${SNAP_COMMON}/etc/ddclient/ddclient.conf
|
Loading…
Reference in a new issue