Your fix probably misses an edge case where the list of installed Flatpaks returns an empty string.
Your fix probably misses an edge case where the list of installed Flatpaks returns an empty string.
rpm-ostree, thanksif [[ -n "${FLATPAK_LIST} ]]; then ... fiINSTALL_LIST=$( test -n "${FLATPAK_LIST}" && ( echo ${FLATPAK_LIST} | grep -vf - ${INSTALL_LIST_FILE} ) || cat ${INSTALL_LIST_FILE} )$(...)INSTALL_LISTif [[ -n "${FLATPAK_LIST}" ]]; then
INSTALL_LIST=$(echo ${FLATPAK_LIST} | grep -vf - ${INSTALL_LIST_FILE})
else
INSTALL_LIST=$(cat ${INSTALL_LIST_FILE})
fiINSTALL_LIST=$(< ${INSTALL_LIST_FILE})shellcheckrpm-ostree kargsrpm-ostree kargs --editor