mirror of
https://github.com/Sonarr/Sonarr
synced 2025-01-22 07:09:10 +00:00
Fixed typo in postinst preventing it from properly upgrading v3 alpha installs.
This commit is contained in:
parent
8f4067adbb
commit
c14b339d80
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ if [ $1 = "configure" ]; then
|
||||||
varoptAppData="$varoptRoot/.config/Sonarr"
|
varoptAppData="$varoptRoot/.config/Sonarr"
|
||||||
sonarrUserHome=`getent passwd $USER | cut -d ':' -f 6`
|
sonarrUserHome=`getent passwd $USER | cut -d ':' -f 6`
|
||||||
sonarrAppData="$sonarrUserHome/.config/Sonarr"
|
sonarrAppData="$sonarrUserHome/.config/Sonarr"
|
||||||
if [ ! -f "$varoptRoot/sonarr.db" ]; then
|
if [ -f "$varoptRoot/sonarr.db" ]; then
|
||||||
# Handle /var/opt/sonarr/sonarr.db
|
# Handle /var/opt/sonarr/sonarr.db
|
||||||
mv "$varoptRoot" "$CONFDIR"
|
mv "$varoptRoot" "$CONFDIR"
|
||||||
elif [ -f "$varoptAppData/sonarr.db" ]; then
|
elif [ -f "$varoptAppData/sonarr.db" ]; then
|
||||||
|
|
Loading…
Reference in a new issue