summaryrefslogtreecommitdiff
path: root/type
diff options
context:
space:
mode:
Diffstat (limited to 'type')
-rwxr-xr-xtype/__dtnrch_etax_sgnp/manifest10
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