commit: 3029b90aac32fa82a3f87a8bcb1bc3658b589774
Author: Tomáš Chvátal <tomas.chvatal <AT> gmail <DOT> com>
AuthorDate: Thu Apr 26 09:03:47 2018 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Thu Apr 26 09:05:23 2018 +0000
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=3029b90a
etc-update: include opensuse-leap in suse OS_FAMILY
bin/etc-update | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/etc-update b/bin/etc-update
index 23903a105..b15cceb4c 100755
--- a/bin/etc-update
+++ b/bin/etc-update
@@ -35,7 +35,7 @@ get_config() {
OS_RELEASE_ID=$(cat /etc/os-release 2>/dev/null | grep '^ID=' | cut -d'=' -f2
| sed -e 's/"//g')
case $OS_RELEASE_ID in
- suse|opensuse) OS_FAMILY='suse' NEW_EXT='rpmnew';;
+ suse|opensuse|opensuse-leap) OS_FAMILY='suse' NEW_EXT='rpmnew';;
arch|manjaro|antergos) OS_FAMILY='arch' NEW_EXT='pacnew';;
*) OS_FAMILY='gentoo' ;;
esac