Skip to content

Commit

Permalink
add /usr/libexec/helper-scripts/origins-parser
Browse files Browse the repository at this point in the history
  • Loading branch information
adrelanos committed Oct 12, 2021
1 parent b71f60c commit 0493bc3
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions usr/libexec/helper-scripts/origins-parser
@@ -0,0 +1,14 @@
#!/bin/bash

## Copyright (C) 2021 - 2021 ENCRYPTED SUPPORT LP <adrelanos@whonix.org>
## 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

0 comments on commit 0493bc3

Please sign in to comment.