Use consistent bash5 style for conditionals and quoting
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
echo "Add default Ctrl+P binding for imv; backup existing config if present"
|
||||
|
||||
if [ -f ~/.config/imv/config ]; then
|
||||
if [[ -f ~/.config/imv/config ]]; then
|
||||
cp ~/.config/imv/config ~/.config/imv/config.bak.$(date +%s)
|
||||
else
|
||||
mkdir -p ~/.config/imv
|
||||
|
||||
Reference in New Issue
Block a user