diff options
author | xyz <gky44px1999@gmail.com> | 2021-09-21 19:18:38 -0700 |
---|---|---|
committer | xyz <gky44px1999@gmail.com> | 2021-09-21 19:18:38 -0700 |
commit | 33891b84d7760349b8ecf0a77ded20c2f304df38 (patch) | |
tree | 1d849cab071efe7675e1c661fcc2dfdf80ac38bc /.local/bin/cpcfg | |
parent | c41ca8daabb1b5979db274782e5bd32516cf60d1 (diff) |
cd ... || exit instead of exit 1
Diffstat (limited to '.local/bin/cpcfg')
-rwxr-xr-x | .local/bin/cpcfg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/cpcfg b/.local/bin/cpcfg index 3ff2cac6..5e200ee0 100755 --- a/.local/bin/cpcfg +++ b/.local/bin/cpcfg @@ -3,5 +3,5 @@ # some dotfiles file permissions are different than normal root:root file, need chown sudo cp -i -- "$XDG_CONFIG_HOME/myconf/pacman.conf" /etc/ sudo cp -i -- "$XDG_CONFIG_HOME/myconf/locale.gen" /etc/ -sudo mkdir -p /etc/wildmidi/ || exit +sudo mkdir -p /etc/wildmidi/ sudo cp -i -- "$XDG_CONFIG_HOME/myconf/wildmidi.cfg" /etc/wildmidi/ |