Skip to content

Commit

Permalink
Merge pull request #3995 from MilhouseVH/le10_userconfig_off_by_one
Browse files Browse the repository at this point in the history
userconfig-setup: avoid // in test
  • Loading branch information
chewitt committed Dec 2, 2019
2 parents c00c2b5 + a3453d2 commit 651e46c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sysutils/systemd/scripts/userconfig-setup
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

# Remove those sample files that we manage
for sample in $(find /storage/.config -name '*.sample' 2>/dev/null); do
[ -f /usr/config/${sample:16} ] && rm -f ${sample}
[ -f /usr/config/${sample:17} ] && rm -f ${sample}
done

# Copy config files, but don't overwrite - this should replace our sample files
Expand Down

0 comments on commit 651e46c

Please sign in to comment.