Envrionment means .mono is right in ~.
This commit is contained in:
parent
44694bcce6
commit
843b5ceffe
1 changed files with 1 additions and 2 deletions
|
@ -14,8 +14,7 @@ post_upgrade() {
|
||||||
|
|
||||||
# Check for existing old mono config directory and non-existance of new mono config directory.
|
# Check for existing old mono config directory and non-existance of new mono config directory.
|
||||||
if [[ -d /usr/share/Jackett/.config/.mono && ! -d /var/lib/jackett/.config/.mono ]]; then
|
if [[ -d /usr/share/Jackett/.config/.mono && ! -d /var/lib/jackett/.config/.mono ]]; then
|
||||||
mkdir -p /var/lib/jackett/.config/
|
cp -a /usr/share/Jackett/.config/.mono /var/lib/jackett/
|
||||||
cp -a /usr/share/Jackett/.config/.mono /var/lib/jackett/.config/
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# The jackett user's home directory needs to change too.
|
# The jackett user's home directory needs to change too.
|
||||||
|
|
Loading…
Reference in a new issue