No responses here or on discord :(
Trying to track this down. The section of code that generated this error is:
if [ $customcmd == "no" ]; then
if [ -n "$pkgremove" ]; then
echo -e "\nFinalising Install...\n"
sysclean && newline
fi
echo -e "\nAll done. Enjoy your $productname!\n"
else # custom block starts here
echo -e "\nFinalising Install...\n"
# add_dtoverlay hifiberry-dac
if [ "$OS_NAME" != "RetroPie" ]; then
inform "Retropie does not seem to be installed. No worries,"
inform "we can still set up the hardware side for you!"
fi
cd $installdir/$gitclonedir
sudo ./install.sh
I ran the following command to get the OS info that is being reported. Results also below:
In the install script from GIhub there is a check:
osreleases=( "Raspbian" "RetroPie" ) # list os-releases supported
Also noticed there is multiple references to the variable $OS_NAME. however I do not see where it is declared. Am I missing something or is this a bug in the script that is forcing the $OS_Name to be null and thus the script is not installing?
I was able to set a system variable OS_NAME=RetroPie and re-ran the script from GIT and the install works now. Not 100% fully tested at this point but at least RetroPie sees the “New” controller