Fix upgrade script gitea module rename check

This commit is contained in:
Clemens Schwaighofer
2022-03-29 10:28:26 +09:00
parent f990e86949
commit e860573e0c

View File

@@ -106,7 +106,7 @@ for MODULE in ${MODULE_LIST}; do
if [ "${MODULE}" = "gitea" ]; then
# if just date, add gitea,
# else rename
if [ -z "${i##*gitea*}" ]; then
if [ ! -z "${i##gitea*}" ]; then
target_name="${MODULE},${i}";
else
target_name=$(echo $i | sed -e 's/gitea-/gitea,/');