From 2f89d8a514a5996a76ca5a34397b3d087e2fe5c2 Mon Sep 17 00:00:00 2001
From: Stu Zhao <z12y12l12@gmail.com>
Date: Tue, 28 Aug 2018 23:27:13 -0700
Subject: [PATCH] Fix __package_update_index processing error

exit 1 in explorer will abort cdist.
---
 cdist/conf/type/__package_update_index/explorer/currage | 1 -
 docs/changelog                                          | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/cdist/conf/type/__package_update_index/explorer/currage b/cdist/conf/type/__package_update_index/explorer/currage
index cd042bd5..e86e3f13 100644
--- a/cdist/conf/type/__package_update_index/explorer/currage
+++ b/cdist/conf/type/__package_update_index/explorer/currage
@@ -29,6 +29,5 @@ case "$os" in
         ;;
     *)  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
diff --git a/docs/changelog b/docs/changelog
index 311d7a57..12bdb1e0 100644
--- a/docs/changelog
+++ b/docs/changelog
@@ -5,6 +5,7 @@ next:
 	* Type __letsencrypt_cert: Add support for devuan ascii (Darko Poljak)
 	* Type __systemd_unit: Fix minor issues and add masking unit files support (Adam Dej)
 	* Type __grafana_dashboard: Fix devuan ascii support (Dominique Roux)
+	* Type __package_update_index: Fix error when using OS not using apt (Stu Zhao)
 
 4.10.1: 2018-06-21
 	* Type __letsencrypt_cert: Fix temp file location and removal (Darko Poljak)