packaging: detect fedora properly
@@ -43,7 +43,7 @@ CMAKE_ARGS_BASE="-DTARGET_PLUGIN_FOLDER='elektra5' \
-DCPACK_PACKAGE_RELEASE=$PACKAGE_REVISION"
# last disjunct matches all distribution names starting with openSUSE or CentOS
-if [ "$DIST_NAME" = "Fedora" ] || case $DIST_NAME in "openSUSE"*) true ;; "CentOS"*) true ;; *) false ;; esac then
+if case $DIST_NAME in "Fedora"*) true ;; "openSUSE"*) true ;; "CentOS"*) true ;; *) false ;; esac then
CMAKE_ARGS_SPECIFIC="-DTARGET_LUA_CMOD_FOLDER=lib$LUA_LIB_SUFFIX/lua/$LUA_VERSION \
-DTARGET_LUA_LMOD_FOLDER=share/lua/$LUA_VERSION \
