diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-12-10 03:35:11 +0200 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-12-10 03:35:11 +0200 |
commit | c82302ebc874240c56ffc1d7ccaf767e4a069c0b (patch) | |
tree | b6765e52c0f627dd3c5065cb04f5abaa22a00929 | |
parent | e0ce33001ca741af95608caf66835a66bf72b5ff (diff) | |
download | arching-kaos-tools-c82302ebc874240c56ffc1d7ccaf767e4a069c0b.tar.gz arching-kaos-tools-c82302ebc874240c56ffc1d7ccaf767e4a069c0b.tar.bz2 arching-kaos-tools-c82302ebc874240c56ffc1d7ccaf767e4a069c0b.zip |
Preupdating ipfs->kubo since ipfs is already used in FreeBSD
-rwxr-xr-x | ipfs-check-install-setup-init-update | 2 | ||||
-rwxr-xr-x | lib/_ak_ipfs | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ipfs-check-install-setup-init-update b/ipfs-check-install-setup-init-update index 0e2cb39..249b6fa 100755 --- a/ipfs-check-install-setup-init-update +++ b/ipfs-check-install-setup-init-update @@ -15,7 +15,7 @@ _ak_ipfs_install(){ TEMPASSIN=$(cat tempassin) cd $TEMPASSIN tar xf $AK_ARCHIVESDIR/$IPFS_TARGET_FILE - cp kubo/ipfs $AK_BINDIR/ipfs + cp kubo/ipfs $AK_BINDIR/kubo cd $ak_curdir rm -rf $TEMPASSIN _ak_log_info "ipfs installed on $AK_BINDIR" diff --git a/lib/_ak_ipfs b/lib/_ak_ipfs index 8ac363b..cf4b140 100755 --- a/lib/_ak_ipfs +++ b/lib/_ak_ipfs @@ -8,10 +8,10 @@ then fi _ak_ipfs(){ - export IPFS_PATH=$AK_IPFS_REPO; ipfs $* + export IPFS_PATH=$AK_IPFS_REPO; kubo $* if [ $? -ne 0 ] then - _ak_log_error "Some error occured when running: ipfs $*" + _ak_log_error "Some error occured when running: kubo $*" #exit 1 fi } @@ -450,7 +450,7 @@ _ak_ipfs_download(){ exit 1 fi IPFS_TARGET_FILE="kubo_${IPFS_VERSION}_$(uname|tr "[:upper:]" "[:lower:]")-${ARCH}.tar.gz" - _ak_log_info "Downloading ipfs $IPFS_VERSION" + _ak_log_info "Downloading kubo $IPFS_VERSION" if [ ! -f $AK_ARCHIVESDIR/$IPFS_TARGET_FILE ] then curl -s -o $AK_ARCHIVESDIR/$IPFS_TARGET_FILE https://dist.ipfs.tech/kubo/$IPFS_VERSION/$IPFS_TARGET_FILE |