moved i3 into archive

This commit is contained in:
Paul Wilde 2023-02-17 11:36:43 +00:00
parent 66190bbec1
commit 41e9cf2a5e
3 changed files with 5 additions and 5 deletions

View file

@ -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