Fix directory does not exist

This commit is contained in:
Sayantan Santra 2023-03-06 10:16:06 -06:00
parent e5b6e078dc
commit 520a098f8a

View file

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