Skip to content

Commit

Permalink
VeraCrypt: add bookworm, noble, jammy, and focal support
Browse files Browse the repository at this point in the history
  • Loading branch information
theofficialgman committed Aug 28, 2024
1 parent 173533c commit b7e3740
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/updates/VeraCrypt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@

webVer[0]="$(get_release_raw veracrypt/VeraCrypt | sed 's/VeraCrypt_//g' )"
webVer[1]="${webVer[0]}"
webVer[2]="${webVer[0]}"
armhf_url[0]="https://github.com/veracrypt/VeraCrypt/releases/download/VeraCrypt_${webVer[0]}/veracrypt-${webVer[0]}-Debian-10-armhf.deb"
arm64_url[0]="https://github.com/veracrypt/VeraCrypt/releases/download/VeraCrypt_${webVer[0]}/veracrypt-${webVer[0]}-Debian-10-arm64.deb"
armhf_url[1]="https://github.com/veracrypt/VeraCrypt/releases/download/VeraCrypt_${webVer[1]}/veracrypt-${webVer[1]}-Debian-11-armhf.deb"
arm64_url[1]="https://github.com/veracrypt/VeraCrypt/releases/download/VeraCrypt_${webVer[1]}/veracrypt-${webVer[1]}-Debian-11-arm64.deb"
armhf_url[2]="https://github.com/veracrypt/VeraCrypt/releases/download/VeraCrypt_${webVer[2]}/veracrypt-${webVer[2]}-Debian-12-armhf.deb"
arm64_url[2]="https://github.com/veracrypt/VeraCrypt/releases/download/VeraCrypt_${webVer[2]}/veracrypt-${webVer[2]}-Debian-12-arm64.deb"

source $GITHUB_WORKSPACE/.github/workflows/update_github_script.sh
10 changes: 9 additions & 1 deletion apps/VeraCrypt/install-32
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,23 @@

version=1.26.7
version2=1.26.14
version3=1.26.14

case $(get_codename) in
focal|jammy|noble)
ubuntu_ppa_installer "unit193/encryption"
install_packages veracrypt || exit 1
;;
buster)
install_packages https://github.com/veracrypt/VeraCrypt/releases/download/VeraCrypt_${version}/veracrypt-${version}-Debian-10-armhf.deb || exit 1
;;
bullseye)
install_packages https://github.com/veracrypt/VeraCrypt/releases/download/VeraCrypt_${version2}/veracrypt-${version2}-Debian-11-armhf.deb || exit 1
;;
bookworm)
install_packages https://github.com/Pi-Apps-Coders/files/releases/download/large-files/veracrypt-1.26.7-Debian-12-armhf.deb || exit 1
install_packages https://github.com/veracrypt/VeraCrypt/releases/download/VeraCrypt_${version3}/veracrypt-${version3}-Debian-12-armhf.deb || exit 1
;;
*)
error "User error: VeraCrypt is not available for your operating system release"
;;
esac
10 changes: 9 additions & 1 deletion apps/VeraCrypt/install-64
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,26 @@

version=1.26.7
version2=1.26.14
version3=1.26.14

case $(get_codename) in
bionic)
install_packages https://github.com/Pi-Apps-Coders/files/releases/download/large-files/veracrypt-1.25.9-Ubuntu-18.04-arm64.deb || exit 1
;;
focal|jammy|noble)
ubuntu_ppa_installer "unit193/encryption"
install_packages veracrypt || exit 1
;;
buster)
install_packages https://github.com/veracrypt/VeraCrypt/releases/download/VeraCrypt_${version}/veracrypt-${version}-Debian-10-arm64.deb || exit 1
;;
bullseye)
install_packages https://github.com/veracrypt/VeraCrypt/releases/download/VeraCrypt_${version2}/veracrypt-${version2}-Debian-11-arm64.deb || exit 1
;;
bookworm)
install_packages https://github.com/Pi-Apps-Coders/files/releases/download/large-files/veracrypt-1.26.7-Debian-12-arm64.deb || exit 1
install_packages https://github.com/veracrypt/VeraCrypt/releases/download/VeraCrypt_${version3}/veracrypt-${version3}-Debian-12-arm64.deb || exit 1
;;
*)
error "User error: VeraCrypt is not available for your operating system release"
;;
esac

0 comments on commit b7e3740

Please sign in to comment.