Homepage › Forums › RetroPie Project › Everything else related to the RetroPie Project › Call "Binary-based Installation" directly › Reply To: Call "Binary-based Installation" directly
07/08/2015 at 20:45
#101648
Participant
Well i think I have done it, and you were right, it wasn’t that hard. I was tired and sleepy on Monday :P
Just made this script that I will include in the end of another one:
#!/bin/bash
cd /home/pi/RetroPie-Setup
. /home/pi/RetroPie-Setup/retropie_packages.sh
. /home/pi/RetroPie-Setup/scriptmodules/system.sh
. /home/pi/RetroPie-Setup/scriptmodules/helpers.sh
. /home/pi/RetroPie-Setup/scriptmodules/packages.sh
. /home/pi/RetroPie-Setup/scriptmodules/admin/setup.sh
setup_env
rp_registerAllModules
function printMsgs() {
local type="$1"
shift
for msg in "$@"; do
[[ "$type" == "dialog" ]] && echo "$msg"
[[ "$type" == "console" ]] && echo "$msg"
[[ "$type" == "heading" ]] && echo -e "\n= = = = = = = = = = = = = = = = = = = = =\n$msg\n= = = = = = = = = = = = = = = = = = = = =\n"
done
}
binaries_setup
exit
EDIT: Substituted the end dialog messages for terminal ones, so no any user intervention is required.