filebot/installer/spk/scripts/preupgrade

9 lines
136 B
Bash

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