summarylogtreecommitdiffstats
path: root/pango-design-suite-license.sh
blob: 81acfad6f9d89dc8933c1facbc125cc54bfd61d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

CONFIG_FILE="/etc/pango-design-suite-license.conf"

if [ ! -f "$CONFIG_FILE" ]; then
	echo "Error: Pango Design Suite (PDS) config file not found!" >&2
	return 1
fi

source "$CONFIG_FILE"

if [ -z "$SNPSLMD_LICENSE_FILE" ] || [ -z "$PANGO_LICENSE_FILE" ]; then
	echo "Error: Failed to load Pango Design Suite (PDS) license!" >&2
	return 1
fi