diff --git a/build-aux/snap/hooks/install b/build-aux/snap/hooks/install new file mode 100755 index 0000000..bf10a8b --- /dev/null +++ b/build-aux/snap/hooks/install @@ -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