Fix unzip location

This commit is contained in:
Sayantan Santra 2023-03-06 10:20:47 -06:00
parent f370cc02a0
commit 37c3dd5e5a

View file

@ -1,6 +1,6 @@
name='vuetorrent' name='vuetorrent'
version=VERSION version=VERSION
release=3 release=4
desc='The sleekest looking WEBUI for qBittorrent made with Vuejs!' desc='The sleekest looking WEBUI for qBittorrent made with Vuejs!'
homepage='https://github.com/WDaan/VueTorrent' homepage='https://github.com/WDaan/VueTorrent'
architectures=('amd64') architectures=('amd64')
@ -22,8 +22,8 @@ package() {
echo "Pulling ${name} ${version}" echo "Pulling ${name} ${version}"
curl -L "https://github.com/${git_repo}/releases/latest/download/${name}.zip" -o ${name}.zip curl -L "https://github.com/${git_repo}/releases/latest/download/${name}.zip" -o ${name}.zip
# Unzip and install # Unzip and install
mkdir -p "${pkgdir}/opt/${name}" mkdir -p "${pkgdir}/opt"
unzip -qq vuetorrent.zip -d "${pkgdir}/opt/${name}" unzip -qq vuetorrent.zip -d "${pkgdir}/opt"
# Print usage instructions # Print usage instructions
echo "Make sure to choose /opt/vuetorrent as the location of the custom WebUI in qBittorrent settings." echo "Make sure to choose /opt/vuetorrent as the location of the custom WebUI in qBittorrent settings."
echo "You might nedd to mount this directory first if you're using docker." echo "You might nedd to mount this directory first if you're using docker."