mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
Use printf instead of echo
This commit is contained in:
parent
afc087b170
commit
9658ece723
@ -9,7 +9,7 @@
|
||||
# Location of link to wallpaper.
|
||||
bgloc="${XDG_CACHE_HOME:-$HOME/.cache/}bg"
|
||||
|
||||
[ ! -L "$bgloc" ] && [ ! -e "$1" ] && echo 'Please provide a valid image or directory.' && exit 1
|
||||
[ ! -L "$bgloc" ] && [ ! -e "$1" ] && printf 'Please provide a valid image or directory.\n' && exit 1
|
||||
|
||||
[ -f "$1" ] && ln -sf "$(readlink -f "$1")" "$bgloc"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user