No username

This commit is contained in:
Bob Mottram 2017-05-25 21:47:28 +01:00
parent 597228ef89
commit 0fdbc41739
1 changed files with 2 additions and 2 deletions

View File

@ -202,7 +202,7 @@ function koel_import_from_usb {
return
fi
backup_mount_drive ${USB_DRIVE} ${MY_USERNAME}
backup_mount_drive ${USB_DRIVE}
if [ ! -d $USB_MOUNT/Music ]; then
dialog --title $"Import music from USB drive" --msgbox $'No Music directory found on USB drive' 6 50
backup_unmount_drive ${USB_DRIVE}
@ -221,7 +221,7 @@ function koel_export_to_usb {
return
fi
backup_mount_drive ${USB_DRIVE} ${MY_USERNAME}
backup_mount_drive ${USB_DRIVE}
if [ ! -d $USB_MOUNT/Music ]; then
mkdir -p $USB_MOUNT/Music
fi