diff options
| author | Dennis Camera <cdist@dtnr.ch> | 2021-03-21 11:11:07 +0100 |
|---|---|---|
| committer | Dennis Camera <cdist@dtnr.ch> | 2021-03-21 11:11:07 +0100 |
| commit | bf1c3ac376254e4841c4920a52770052767f27ef (patch) | |
| tree | 049f68a4964b7b8c8a8a3708f36cef7a3edb1f11 /type | |
| parent | 824a9f25166a45deb083a2657e5affc091905b57 (diff) | |
| download | __dtnrch_egov-bf1c3ac376254e4841c4920a52770052767f27ef.tar.gz __dtnrch_egov-bf1c3ac376254e4841c4920a52770052767f27ef.zip | |
[type/__dtnrch_etax_sgnp] Whitelist macosx
Diffstat (limited to 'type')
| -rwxr-xr-x | type/__dtnrch_etax_sgnp/manifest | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/type/__dtnrch_etax_sgnp/manifest b/type/__dtnrch_etax_sgnp/manifest index 1d273f5..dd0b092 100755 --- a/type/__dtnrch_etax_sgnp/manifest +++ b/type/__dtnrch_etax_sgnp/manifest @@ -84,8 +84,16 @@ in __directory "${download_dir}" --state present \ --owner 0 --group 0 --mode 0755 --parents ;; + (macosx) + download_dir="/var/tmp/cdist/${__type##*/}" + + __directory "${download_dir}" --state present \ + --owner 0 --group 0 --mode 0755 --parents + ;; (*) - # TODO: error message + : "${__type:?}" # make shellcheck happy + echo "Your operating system (${os}) is currently not supported by this type (${__type##*/})." >&2 + echo "Please contribute an implementation for it if you can." >&2 exit 1 ;; esac |
