diff --git a/home/.chezmoiscripts/universal/run_onchange_after_44-vmware-install.tmpl b/home/.chezmoiscripts/universal/run_onchange_after_44-vmware-install.tmpl index e24ac930..a146fa89 100644 --- a/home/.chezmoiscripts/universal/run_onchange_after_44-vmware-install.tmpl +++ b/home/.chezmoiscripts/universal/run_onchange_after_44-vmware-install.tmpl @@ -1,14 +1,15 @@ {{- if eq .host.distro.family "linux" -}} #!/usr/bin/env bash +{{- $secretKey := "" -}} {{- if (stat (joinPath (.chezmoi.sourceDir ".chezmoitemplates" "secrets" "key-vmware-workstation"))) -}} -{{- $secretKey := (default "4C21U-2KK9Q-M8130-4V2QH-CF810" (includeTemplate "secrets/key-vmware-workstation" | decrypt)) -}} +{{- $secretKey = (default "4C21U-2KK9Q-M8130-4V2QH-CF810" (includeTemplate "secrets/key-vmware-workstation" | decrypt)) -}} {{- else -}} -{{- $secretKey := (default "4C21U-2KK9Q-M8130-4V2QH-CF810" (env "VMWARE_WORKSTATION_LICENSE_KEY")) -}} +{{- $secretKey = (default "4C21U-2KK9Q-M8130-4V2QH-CF810" (env "VMWARE_WORKSTATION_LICENSE_KEY")) -}} {{- end }} # Source: https://gist.github.com/PurpleVibe32/30a802c3c8ec902e1487024cdea26251 -# key: {{- $secretKey }} +# key: {{ $secretKey }} {{ includeTemplate "universal/profile-before" }} {{ includeTemplate "universal/logg-before" }} diff --git a/software.yml b/software.yml index de8c7bac..46d9b6d7 100644 --- a/software.yml +++ b/software.yml @@ -5803,6 +5803,7 @@ softwarePackages: - php-json - php-mbstring - php-opcache + - php-pgsql - php-redis - php-snmp - php-sqlite3 @@ -5824,6 +5825,7 @@ softwarePackages: - php-json - php-mbstring - php-opcache + - php-pgsql - php-redis - php-snmp - php-sqlite3