Is it a warning?

by on May.01, 2020, under Ultimate Edition

Is it a warning, because I fixed your error?

command-in-menu-file-and-desktop-file

The command is listed both in a menu file and a desktop file

Per the tech-ctte decision on #741573, this is now prohibited.

Please remove the menu file from the package.

command-in-menu-file-and-desktop-file

Not Called – fixes 1 Warning and creates 2 warnings via calls from postinst, postrm

CommandInMenuFileAndDesktopFile () {
cat “${FILE}.deb.errors” | while read ERRORS
do
FOUND=$(echo “${ERRORS}” | grep “command-in-menu-file-and-desktop-file”)
if [[ “${FOUND}” ]]; then
SCRAP=$(echo “${ERRORS}” | cut -d “:” -f3 | sed “s/ command-in-menu-file-and-desktop-file //g” | cut -d ” ” -f2)
if [[ -f “${FILE}/${SCRAP}” ]]; then
Encapsulate “Removing menu file, since we have a desktop file.”
rm “${FILE}/${SCRAP}”
else
Encapsulate “File does not exist: ${SCRAP}. Already fixed?”
fi
fi
done
}

Do not worry does not run. I already looked into it, more code then I want to write. I am writing code to try to remove errors and warning not add them.

We are on pass #2, pass #3 we are done. I have already installed the software on the server.

TheeMahn,


Leave a Reply

You must be logged in to post a comment.

Back to top ↑