Skip to content
Snippets Groups Projects
Commit 0fdbc417 authored by Bob Mottram's avatar Bob Mottram
Browse files

No username

parent 597228ef
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment