diff options
| author | Miquel Sabaté Solà <msabate@suse.com> | 2019-09-05 14:00:25 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <msabate@suse.com> | 2019-09-05 16:46:12 +0200 |
| commit | 99f78178964d12e3a8ae6cc4aebf894320e562df (patch) | |
| tree | 1c780d0b9d4740a41616ae716decbc469a102d8d /install.sh | |
| parent | 0f3444ced75558884334a99fc04b9c72b1924e42 (diff) | |
| download | dotfiles-99f78178964d12e3a8ae6cc4aebf894320e562df.tar.gz dotfiles-99f78178964d12e3a8ae6cc4aebf894320e562df.zip | |
Added linters and polished code
The minimum version supported has been raised to 25.3.
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to 'install.sh')
| -rwxr-xr-x | install.sh | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -40,6 +40,8 @@ for i in "${ary[@]:1:${#ary[@]}}"; do ignore+=" -or -name $i" done +# shellcheck disable=SC2086 +# shellcheck disable=SC2044 for file in $(find "$(pwd)" -mindepth 1 -maxdepth 1 ! \( $ignore \)); do # The -F and -f flags of ln suck. Let's rm all the way. rm -rf "${HOME:?}/$(basename $file)" |
