Skip to content

Commit

Permalink
XKB: fix bug in install-system.sh which stops the installation (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
39aldo39 committed Dec 21, 2017
1 parent 17109fb commit 67198cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/xkb/scripts/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ copy_file () {
file_to=$2

if [ ! -f "$file_from" ]; then
[ -f "$file_to" ] && rm "$file_to"
[ ! -f "$file_to" ] || rm "$file_to"
elif [ ! -f "$file_to" ] || grep -qx "// Generated by KLFC .*" "$file_to" || confirm "$file_to already exists. Overwrite?"; then
cp "$file_from" "$file_to"
fi
Expand Down

0 comments on commit 67198cf

Please sign in to comment.