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
|
||||
|
||||
for dir in ./*; do
|
||||
if [ -d $dir ]; then
|
||||
if [[ $dir == "./" ]]; then
|
||||
if [ -d "$dir" ]; then
|
||||
if [[ "$dir" == "./" ]]; then
|
||||
continue
|
||||
fi
|
||||
cd $dir
|
||||
f=$(echo $dir | sed 's/\.\///')
|
||||
cd "$dir" || exit
|
||||
f=$(echo "$dir" | sed 's/\.\///')
|
||||
nimble install -y
|
||||
if [[ $1 == "install" ]]; then
|
||||
sudo cp -v $f /usr/local/bin/$f
|
||||
sudo cp -v "$f" "/usr/local/bin/$f"
|
||||
fi
|
||||
cd ../
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue