moved i3 into archive
This commit is contained in:
parent
66190bbec1
commit
41e9cf2a5e
3 changed files with 5 additions and 5 deletions
|
@ -1,15 +1,15 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
for dir in ./*; do
|
for dir in ./*; do
|
||||||
if [ -d $dir ]; then
|
if [ -d "$dir" ]; then
|
||||||
if [[ $dir == "./" ]]; then
|
if [[ "$dir" == "./" ]]; then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
cd $dir
|
cd "$dir" || exit
|
||||||
f=$(echo $dir | sed 's/\.\///')
|
f=$(echo "$dir" | sed 's/\.\///')
|
||||||
nimble install -y
|
nimble install -y
|
||||||
if [[ $1 == "install" ]]; then
|
if [[ $1 == "install" ]]; then
|
||||||
sudo cp -v $f /usr/local/bin/$f
|
sudo cp -v "$f" "/usr/local/bin/$f"
|
||||||
fi
|
fi
|
||||||
cd ../
|
cd ../
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue