Move migration echo to a more appropriate place.
This commit is contained in:
parent
dd3fe4f6e7
commit
e8e44e7a2d
2 changed files with 3 additions and 3 deletions
3
PKGBUILD
3
PKGBUILD
|
@ -25,7 +25,4 @@ package() {
|
|||
|
||||
install -D -m644 "${srcdir}/jackett.service" "${pkgdir}/usr/lib/systemd/system/jackett.service"
|
||||
install -D -m644 "$srcdir/jackett.sysusers" "$pkgdir/usr/lib/sysusers.d/jackett.conf"
|
||||
|
||||
msg2 "Configs copied from /usr/share/Jackett/.config/Jackett -> /var/lib/jackett/."
|
||||
msg2 "After confirming, rm -rf /opt/Jackett /usr/share/Jackett."
|
||||
}
|
||||
|
|
|
@ -22,6 +22,9 @@ post_upgrade() {
|
|||
if [[ "$( getent passwd jackett | cut -d: -f6 )" != "/var/lib/jackett" ]]; then
|
||||
usermod -d /var/lib/jackett jackett
|
||||
fi
|
||||
|
||||
echo "Configs copied from /usr/share/Jackett/.config/Jackett -> /var/lib/jackett/."
|
||||
echo "After confirming, rm -rf /opt/Jackett /usr/share/Jackett."
|
||||
fi
|
||||
|
||||
post_install "$1"
|
||||
|
|
Loading…
Reference in a new issue