fix basename -o
This commit is contained in:
@@ -35,7 +35,7 @@ msg_ok "Installed Node.js"
|
||||
msg_info "Installing Actual Budget"
|
||||
cd /opt
|
||||
RELEASE=$(curl -fsSL https://api.github.com/repos/actualbudget/actual/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
|
||||
curl -fsSL "https://github.com/actualbudget/actual/archive/refs/tags/v${RELEASE}.tar.gz" -o $(basename"https://github.com/actualbudget/actual/archive/refs/tags/v${RELEASE}.tar.gz")
|
||||
curl -fsSL "https://github.com/actualbudget/actual/archive/refs/tags/v${RELEASE}.tar.gz" -o $(basename "https://github.com/actualbudget/actual/archive/refs/tags/v${RELEASE}.tar.gz")
|
||||
tar -xzf v${RELEASE}.tar.gz
|
||||
mv actual-${RELEASE} /opt/actualbudget
|
||||
|
||||
|
||||
Reference in New Issue
Block a user