var directory
This commit is contained in:
parent
121250d17f
commit
259c196918
|
@ -3283,7 +3283,7 @@ function create_restore_script {
|
||||||
echo 'fi' >> /usr/bin/$RESTORE_SCRIPT_NAME
|
echo 'fi' >> /usr/bin/$RESTORE_SCRIPT_NAME
|
||||||
echo '' >> /usr/bin/$RESTORE_SCRIPT_NAME
|
echo '' >> /usr/bin/$RESTORE_SCRIPT_NAME
|
||||||
|
|
||||||
RESTORE_SUBDIR='root/'
|
RESTORE_SUBDIR='var/'
|
||||||
if [[ $BACKUP_TYPE != 'obnam' ]]; then
|
if [[ $BACKUP_TYPE != 'obnam' ]]; then
|
||||||
RESTORE_SUBDIR='usb/backup/xmpp/'
|
RESTORE_SUBDIR='usb/backup/xmpp/'
|
||||||
fi
|
fi
|
||||||
|
@ -4593,7 +4593,7 @@ function restore_from_friend {
|
||||||
echo 'fi' >> /usr/bin/$RESTORE_FROM_FRIEND_SCRIPT_NAME
|
echo 'fi' >> /usr/bin/$RESTORE_FROM_FRIEND_SCRIPT_NAME
|
||||||
echo '' >> /usr/bin/$RESTORE_FROM_FRIEND_SCRIPT_NAME
|
echo '' >> /usr/bin/$RESTORE_FROM_FRIEND_SCRIPT_NAME
|
||||||
|
|
||||||
RESTORE_SUBDIR='root'
|
RESTORE_SUBDIR='var'
|
||||||
if [[ $BACKUP_TYPE != 'obnam' ]]; then
|
if [[ $BACKUP_TYPE != 'obnam' ]]; then
|
||||||
RESTORE_SUBDIR='remoterestore/backup/xmpp'
|
RESTORE_SUBDIR='remoterestore/backup/xmpp'
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue