mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 05:55:38 +00:00
Clean up finit and dir_prep functions
This commit is contained in:
parent
bac12909b5
commit
34bb0d82d4
|
@ -275,7 +275,7 @@ dir_prep() {
|
|||
if [ -d "$symlink.old" ];
|
||||
then
|
||||
echo "Moving the data from $symlink.old to $real" #DEBUG
|
||||
mv -f "$symlink.old"/{.[!.],}* $real
|
||||
mv -f "$symlink.old"/{.[!.],}* "$real"
|
||||
echo "Removing $symlink.old" #DEBUG
|
||||
rm -rf "$symlink.old"
|
||||
fi
|
||||
|
@ -368,9 +368,6 @@ finit() {
|
|||
|
||||
echo "Executing finit"
|
||||
|
||||
# Placing the default retrodeck.cfg
|
||||
cp -vf $rd_defaults $rd_conf
|
||||
|
||||
# Internal or SD Card?
|
||||
local finit_dest_choice=$(configurator_destination_choice_dialog "RetroDECK data" "Welcome to the first configuration of RetroDECK.\nThe setup will be quick but please READ CAREFULLY each message in order to avoid misconfigurations.\n\nWhere do you want your RetroDECK data folder to be located?\n\nThis folder will contain all ROMs, BIOSs and scraped data." )
|
||||
echo "Choice is $finit_dest_choice"
|
||||
|
|
Loading…
Reference in a new issue