1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-17 14:55:09 -05:00

* preserve userdata when upgrading

This commit is contained in:
Reinhard Pointner 2015-11-20 15:18:23 +00:00
parent 0c9004a866
commit 7ba342eb3d
2 changed files with 12 additions and 0 deletions

View File

@ -1,2 +1,8 @@
#!/bin/sh #!/bin/sh
# import user data
DATA_TAR="/tmp/$SYNOPKG_PKGNAME.data.tgz"
cd "$SYNOPKG_PKGDEST" && tar -xvzf "$DATA_TAR" && rm "$DATA_TAR"
exit 0 exit 0

View File

@ -1,2 +1,8 @@
#!/bin/sh #!/bin/sh
# export user data
DATA_TAR="/tmp/$SYNOPKG_PKGNAME.data.tgz"
cd "$SYNOPKG_PKGDEST" && tar -cvzf "$DATA_TAR" "data/"
exit 0 exit 0