DistroHopper/old/set_dir.sh

13 lines
234 B
Bash
Raw Normal View History

2023-03-10 05:47:49 +00:00
#!/bin/bash
2023-03-19 22:54:17 +00:00
2023-03-13 16:20:21 +00:00
source distrohopper.conf
2023-03-19 22:54:17 +00:00
2023-03-13 16:20:21 +00:00
NEWDIR="$(yad --file --directory --title="Where to save VMs?")"
2023-03-19 22:54:17 +00:00
VMS_DIR="$NEWDIR"
echo "VMS_DIR=\"$VMS_DIR\"
export \"VMS_DIR\"" >> distrohopper.conf
export VMS_DIR
echo "New dir is: $VMS_DIR"