mirror of
https://github.com/arkenfox/user.js.git
synced 2025-04-29 21:43:36 +02:00
updater.sh: minor nitpicks
Accidentally deleted a comma and added a newline. I would like to keep the formatting the same until someone indicates that I should do otherwise.
This commit is contained in:
parent
1a0bbae1ac
commit
6be940b648
1 changed files with 1 additions and 2 deletions
|
@ -149,7 +149,7 @@ open_file() { # expects one argument: file_path
|
||||||
elif [ "$(uname -s | cut -c -5)" == "Linux" ]; then
|
elif [ "$(uname -s | cut -c -5)" == "Linux" ]; then
|
||||||
xdg-open "$1"
|
xdg-open "$1"
|
||||||
else
|
else
|
||||||
err 'Error: Sorry opening files is not supported for your OS.'
|
err 'Error: Sorry, opening files is not supported for your OS.'
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -258,7 +258,6 @@ add_override() {
|
||||||
if [ -f "$input" ]; then
|
if [ -f "$input" ]; then
|
||||||
echo "" >> user.js
|
echo "" >> user.js
|
||||||
cat "$input" >> user.js
|
cat "$input" >> user.js
|
||||||
|
|
||||||
printf '%s' 'Status: '
|
printf '%s' 'Status: '
|
||||||
printf_color "${GREEN}" 'Override file appended:'
|
printf_color "${GREEN}" 'Override file appended:'
|
||||||
echo " ${input}"
|
echo " ${input}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue