diff --git a/usr/libexec/helper-scripts/origins-parser b/usr/libexec/helper-scripts/origins-parser new file mode 100755 index 0000000..fb1e06f --- /dev/null +++ b/usr/libexec/helper-scripts/origins-parser @@ -0,0 +1,14 @@ +#!/bin/bash + +## Copyright (C) 2021 - 2021 ENCRYPTED SUPPORT LP +## See the file COPYING for copying conditions. + +PROJECT_NAME="$(cat /etc/dpkg/origins/default | grep "Vendor:" | awk '{print $2}')" +PROJECT_HOMEPAGE="$(cat /etc/dpkg/origins/default | grep "Vendor-URL:" | awk '{print $2}')" +="16" + +if test -r /etc/whonix_version ; then + derivative_major_release_version="$(cat "/etc/whonix_version")" +elif test -f /etc/kicksecure_version ; then + derivative_major_release_version="$(cat "/etc/kicksecure_version")" +fi