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:
parent
0c9004a866
commit
7ba342eb3d
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user