So why is a grep command?
Code:
test_appletrailers1=(`apt-cache policy totem-mozilla | grep "Installed:"`)
Code:
if [ "${PIPESTATUS[0]}" -ne "0" ]; then
if zenity --question --title=Update --text="You must update package lists before using this tool\nDo you want to update?"
then
sudo apt-get update | zenity --progress --text="Updating package lists..." --title="Please wait" --pulsate --auto-close
if [ "${PIPESTATUS[0]}" -ne "0" ]; then
zenity --error --title="Error" --text="Updating package lists has failed."
exit
fi
else exit
In the script it makes a grep call before a zenity call, could the grep cause a fault if there is an error in the grep?
I pulled the code from both the Git and in usr/scripts/lite-software on a current 32 and 64.
I am not sure if that could be the problem but when I removed it the error went away on the 32 bit and 64 bit when another installed language was present. But I am not sure that is the complete issue.