diff --git a/debian-add-user.sh b/debian-add-user.sh index 1e07986..0668aa9 100755 --- a/debian-add-user.sh +++ b/debian-add-user.sh @@ -43,7 +43,7 @@ testpath4=~/faronear.git/fon.git/sysconfig if [ -d $testpath0 ] then - SourcePath=$1 + SourcePath=$0 elif [ -d $testpath1 ] then SourcePath=$testpath1 diff --git a/home-config.sh b/home-config.sh index f1a1f5a..6343481 100755 --- a/home-config.sh +++ b/home-config.sh @@ -9,10 +9,10 @@ testpath5=`pwd`/nixhome if [ "$1" ] then - SourcePath=$0 + SourcePath=$1 elif [ -d $testpath0 ] then - SourcePath=$1 + SourcePath=$testpath0 elif [ -d $testpath1 ] then SourcePath=$testpath1 diff --git a/ipfs-install.sh b/ipfs-install.sh index e6c3605..5b7ace3 100755 --- a/ipfs-install.sh +++ b/ipfs-install.sh @@ -9,11 +9,11 @@ else if [ ! $VERSION ] then VERSION=$defaultVERSION - echo Use default version $defaultVERSION fi fi -curl https://dist.ipfs.tech/kubo/v$VERSION/kubo_v$VERSION_linux-amd64.tar.gz -o kubo_v$VERSION.tgz +echo Download https://dist.ipfs.tech/kubo/v$VERSION/kubo_v${VERSION}_linux-amd64.tar.gz +curl https://dist.ipfs.tech/kubo/v$VERSION/kubo_v${VERSION}_linux-amd64.tar.gz -o kubo_v$VERSION.tgz tar xzf kubo_v$VERSION.tgz ## install ./kubo/ipfs to /usr/local/bin/ipfs cd kubo && sudo bash install.sh