fix: changing name config file in posinst
This commit is contained in:
parent
7f114ed92b
commit
4cd8711e15
|
|
@ -13,7 +13,7 @@ case "$1" in
|
||||||
|
|
||||||
# Copy default config if not present
|
# Copy default config if not present
|
||||||
if [ ! -f /etc/cards/config.json ]; then
|
if [ ! -f /etc/cards/config.json ]; then
|
||||||
cp /etc/cards/config.json.example /etc/cards/config.json
|
cp /etc/cards/cards.json.example /etc/cards/config.json
|
||||||
chown cards:cards /etc/cards/config.json
|
chown cards:cards /etc/cards/config.json
|
||||||
chmod 640 /etc/cards/config.json
|
chmod 640 /etc/cards/config.json
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue