1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mautrix_whatsapp_ynh.git synced 2024-09-03 19:46:01 +02:00

Fix wrong config filename

This commit is contained in:
Dante 2023-03-01 20:17:39 +00:00
parent 474be40628
commit 349d93c993

View file

@ -116,7 +116,7 @@ done
echo "Update latest version of conf/config.yaml"
# Update the config.yaml with the latest version of it and add vars that will be replaced
configFilePath="conf/config-new.yaml"
configFilePath="conf/config.yaml"
newConfigFilePath=$(tar -tf "$tempdir/$version" | grep 'example-config.yaml')
tar -xf "$tempdir/$version" --directory "$tempdir" "$newConfigFilePath"
mv "$tempdir/$newConfigFilePath" "$configFilePath"