File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
scriptmodules/supplementary/usbromservice Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11
11
# # config / defaults
12
12
user=" USERTOBECHOSEN"
13
13
14
- home=" $( eval echo ~ $__user ) "
14
+ home=" $( eval echo ~ $user ) "
15
15
rootdir=" /opt/retropie"
16
16
retropie_path=" $home /RetroPie"
17
17
@@ -68,7 +68,7 @@ find "$retropie_path/roms" -mindepth 1 -maxdepth 1 -type d -printf "$usb_path/ro
68
68
for dir in roms BIOS; do
69
69
log info " Syncing $dir ..."
70
70
log_cmd rsync -rtu --exclude ' ._*' --max-delete=-1 " $usb_path /$dir " " $retropie_path /"
71
- chown -R " $__user " : " $__group " " $retropie_path /$dir "
71
+ chown -R $user : $user " $retropie_path /$dir "
72
72
done
73
73
74
74
log info " Syncing configs ..."
@@ -85,7 +85,7 @@ for from in $(find "$usb_path_to_rp/" -mindepth 1 -maxdepth 1); do
85
85
to=${path_mapping[$from_bn]}
86
86
if [[ -n " $to " ]]; then
87
87
log_cmd rsync -rtu --exclude ' ._*' --max-delete=-1 " $from /" " $to /"
88
- chown -R " $__user " : " $__group " " $to "
88
+ chown -R $user : $user " $to "
89
89
fi
90
90
done
91
91
Original file line number Diff line number Diff line change 12
12
# # config / defaults
13
13
user=" USERTOBECHOSEN"
14
14
15
- home=" $( eval echo ~ $__user ) "
15
+ home=" $( eval echo ~ $user ) "
16
16
retropie_path=" $home /RetroPie"
17
17
18
18
usb_path=" $UM_MOUNTPOINT /retropie-mount"
You can’t perform that action at this time.
0 commit comments