Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

picade pcb firmware update script #161

Merged
merged 2 commits into from
Jan 4, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion installers/automationhat
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ examplesdep=() # list of python modules required by examples
somemoredep=() # list of additional dependencies
xdisplaydep=() # list of dependencies requiring X server

# template 1612142140
# template 1612161220

FORCE=$1
ASK_TO_REBOOT=false
Expand Down Expand Up @@ -206,6 +206,8 @@ os_check() {
OS_NAME="Mate"
elif [ -d ~/.pt-os-dashboard ] || [ -d ~/.pt-dashboard ] || [ -f ~/.pt-dashboard-config ]; then
OS_NAME="PiTop"
elif command -v emulationstation > /dev/null; then
OS_NAME="RetroPie"
elif cat /etc/os-release | grep "Raspbian" > /dev/null; then
OS_NAME="Raspbian" && IS_RASPBIAN=true
elif cat /etc/os-release | grep "Debian" > /dev/null; then
Expand Down
4 changes: 3 additions & 1 deletion installers/blinkt
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ examplesdep=( "numpy" "psutil" "requests" "tweepy" ) # list of python modules re
somemoredep=() # list of additional dependencies
xdisplaydep=() # list of dependencies requiring X server

# template 1612142140
# template 1612161220

FORCE=$1
ASK_TO_REBOOT=false
Expand Down Expand Up @@ -206,6 +206,8 @@ os_check() {
OS_NAME="Mate"
elif [ -d ~/.pt-os-dashboard ] || [ -d ~/.pt-dashboard ] || [ -f ~/.pt-dashboard-config ]; then
OS_NAME="PiTop"
elif command -v emulationstation > /dev/null; then
OS_NAME="RetroPie"
elif cat /etc/os-release | grep "Raspbian" > /dev/null; then
OS_NAME="Raspbian" && IS_RASPBIAN=true
elif cat /etc/os-release | grep "Debian" > /dev/null; then
Expand Down
4 changes: 3 additions & 1 deletion installers/dashboard
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ examplesdep=() # list of python modules required by examples
somemoredep=() # list of additional dependencies
xdisplaydep=( "scrot" "zenity" ) # list of dependencies requiring X server

# template 1612142140
# template 1612161220

FORCE=$1
ASK_TO_REBOOT=false
Expand Down Expand Up @@ -206,6 +206,8 @@ os_check() {
OS_NAME="Mate"
elif [ -d ~/.pt-os-dashboard ] || [ -d ~/.pt-dashboard ] || [ -f ~/.pt-dashboard-config ]; then
OS_NAME="PiTop"
elif command -v emulationstation > /dev/null; then
OS_NAME="RetroPie"
elif cat /etc/os-release | grep "Raspbian" > /dev/null; then
OS_NAME="Raspbian" && IS_RASPBIAN=true
elif cat /etc/os-release | grep "Debian" > /dev/null; then
Expand Down
4 changes: 3 additions & 1 deletion installers/debug
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ examplesdep=() # list of python modules required by examples
somemoredep=() # list of additional dependencies
xdisplaydep=( "scrot" "zenity" ) # list of dependencies requiring X server

# template 1612142140
# template 1612161220

FORCE=$1
ASK_TO_REBOOT=false
Expand Down Expand Up @@ -206,6 +206,8 @@ os_check() {
OS_NAME="Mate"
elif [ -d ~/.pt-os-dashboard ] || [ -d ~/.pt-dashboard ] || [ -f ~/.pt-dashboard-config ]; then
OS_NAME="PiTop"
elif command -v emulationstation > /dev/null; then
OS_NAME="RetroPie"
elif cat /etc/os-release | grep "Raspbian" > /dev/null; then
OS_NAME="Raspbian" && IS_RASPBIAN=true
elif cat /etc/os-release | grep "Debian" > /dev/null; then
Expand Down
4 changes: 3 additions & 1 deletion installers/displayotron
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ examplesdep=( "psutil" ) # list of python modules required by examples
somemoredep=( "libudev-dev" ) # list of additional dependencies
xdisplaydep=( "vlc" ) # list of dependencies requiring X server

# template 1612142140
# template 1612161220

FORCE=$1
ASK_TO_REBOOT=false
Expand Down Expand Up @@ -206,6 +206,8 @@ os_check() {
OS_NAME="Mate"
elif [ -d ~/.pt-os-dashboard ] || [ -d ~/.pt-dashboard ] || [ -f ~/.pt-dashboard-config ]; then
OS_NAME="PiTop"
elif command -v emulationstation > /dev/null; then
OS_NAME="RetroPie"
elif cat /etc/os-release | grep "Raspbian" > /dev/null; then
OS_NAME="Raspbian" && IS_RASPBIAN=true
elif cat /etc/os-release | grep "Debian" > /dev/null; then
Expand Down
4 changes: 3 additions & 1 deletion installers/dot3k
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ examplesdep=( "psutil" ) # list of python modules required by examples
somemoredep=( "libudev-dev" ) # list of additional dependencies
xdisplaydep=( "vlc" ) # list of dependencies requiring X server

# template 1612142140
# template 1612161220

FORCE=$1
ASK_TO_REBOOT=false
Expand Down Expand Up @@ -206,6 +206,8 @@ os_check() {
OS_NAME="Mate"
elif [ -d ~/.pt-os-dashboard ] || [ -d ~/.pt-dashboard ] || [ -f ~/.pt-dashboard-config ]; then
OS_NAME="PiTop"
elif command -v emulationstation > /dev/null; then
OS_NAME="RetroPie"
elif cat /etc/os-release | grep "Raspbian" > /dev/null; then
OS_NAME="Raspbian" && IS_RASPBIAN=true
elif cat /etc/os-release | grep "Debian" > /dev/null; then
Expand Down
4 changes: 3 additions & 1 deletion installers/drumhat
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ examplesdep=( "pygame" ) # list of python modules required by examples
somemoredep=() # list of additional dependencies
xdisplaydep=() # list of dependencies requiring X server

# template 1612142140
# template 1612161220

FORCE=$1
ASK_TO_REBOOT=false
Expand Down Expand Up @@ -206,6 +206,8 @@ os_check() {
OS_NAME="Mate"
elif [ -d ~/.pt-os-dashboard ] || [ -d ~/.pt-dashboard ] || [ -f ~/.pt-dashboard-config ]; then
OS_NAME="PiTop"
elif command -v emulationstation > /dev/null; then
OS_NAME="RetroPie"
elif cat /etc/os-release | grep "Raspbian" > /dev/null; then
OS_NAME="Raspbian" && IS_RASPBIAN=true
elif cat /etc/os-release | grep "Debian" > /dev/null; then
Expand Down
4 changes: 3 additions & 1 deletion installers/envirophat
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ examplesdep=() # list of python modules required by examples
somemoredep=() # list of additional dependencies
xdisplaydep=() # list of dependencies requiring X server

# template 1612142140
# template 1612161220

FORCE=$1
ASK_TO_REBOOT=false
Expand Down Expand Up @@ -206,6 +206,8 @@ os_check() {
OS_NAME="Mate"
elif [ -d ~/.pt-os-dashboard ] || [ -d ~/.pt-dashboard ] || [ -f ~/.pt-dashboard-config ]; then
OS_NAME="PiTop"
elif command -v emulationstation > /dev/null; then
OS_NAME="RetroPie"
elif cat /etc/os-release | grep "Raspbian" > /dev/null; then
OS_NAME="Raspbian" && IS_RASPBIAN=true
elif cat /etc/os-release | grep "Debian" > /dev/null; then
Expand Down
4 changes: 3 additions & 1 deletion installers/explorerhat
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ examplesdep=( "pygame" ) # list of python modules required by examples
somemoredep=() # list of additional dependencies
xdisplaydep=() # list of dependencies requiring X server

# template 1612142140
# template 1612161220

FORCE=$1
ASK_TO_REBOOT=false
Expand Down Expand Up @@ -206,6 +206,8 @@ os_check() {
OS_NAME="Mate"
elif [ -d ~/.pt-os-dashboard ] || [ -d ~/.pt-dashboard ] || [ -f ~/.pt-dashboard-config ]; then
OS_NAME="PiTop"
elif command -v emulationstation > /dev/null; then
OS_NAME="RetroPie"
elif cat /etc/os-release | grep "Raspbian" > /dev/null; then
OS_NAME="Raspbian" && IS_RASPBIAN=true
elif cat /etc/os-release | grep "Debian" > /dev/null; then
Expand Down
4 changes: 3 additions & 1 deletion installers/iotphat
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ examplesdep=() # list of python modules required by examples
somemoredep=( "minicom" ) # list of additional dependencies
xdisplaydep=() # list of dependencies requiring X server

# template 1612142140
# template 1612161220

FORCE=$1
ASK_TO_REBOOT=false
Expand Down Expand Up @@ -206,6 +206,8 @@ os_check() {
OS_NAME="Mate"
elif [ -d ~/.pt-os-dashboard ] || [ -d ~/.pt-dashboard ] || [ -f ~/.pt-dashboard-config ]; then
OS_NAME="PiTop"
elif command -v emulationstation > /dev/null; then
OS_NAME="RetroPie"
elif cat /etc/os-release | grep "Raspbian" > /dev/null; then
OS_NAME="Raspbian" && IS_RASPBIAN=true
elif cat /etc/os-release | grep "Debian" > /dev/null; then
Expand Down
4 changes: 3 additions & 1 deletion installers/microdotphat
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ examplesdep=() # list of python modules required by examples
somemoredep=() # list of additional dependencies
xdisplaydep=() # list of dependencies requiring X server

# template 1612142140
# template 1612161220

FORCE=$1
ASK_TO_REBOOT=false
Expand Down Expand Up @@ -206,6 +206,8 @@ os_check() {
OS_NAME="Mate"
elif [ -d ~/.pt-os-dashboard ] || [ -d ~/.pt-dashboard ] || [ -f ~/.pt-dashboard-config ]; then
OS_NAME="PiTop"
elif command -v emulationstation > /dev/null; then
OS_NAME="RetroPie"
elif cat /etc/os-release | grep "Raspbian" > /dev/null; then
OS_NAME="Raspbian" && IS_RASPBIAN=true
elif cat /etc/os-release | grep "Debian" > /dev/null; then
Expand Down
4 changes: 3 additions & 1 deletion installers/motephat
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ examplesdep=( "requests" ) # list of python modules required by examples
somemoredep=() # list of additional dependencies
xdisplaydep=() # list of dependencies requiring X server

# template 1612142140
# template 1612161220

FORCE=$1
ASK_TO_REBOOT=false
Expand Down Expand Up @@ -206,6 +206,8 @@ os_check() {
OS_NAME="Mate"
elif [ -d ~/.pt-os-dashboard ] || [ -d ~/.pt-dashboard ] || [ -f ~/.pt-dashboard-config ]; then
OS_NAME="PiTop"
elif command -v emulationstation > /dev/null; then
OS_NAME="RetroPie"
elif cat /etc/os-release | grep "Raspbian" > /dev/null; then
OS_NAME="Raspbian" && IS_RASPBIAN=true
elif cat /etc/os-release | grep "Debian" > /dev/null; then
Expand Down
4 changes: 3 additions & 1 deletion installers/pantilthat
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ examplesdep=( "picamera" ) # list of python modules required by examples
somemoredep=() # list of additional dependencies
xdisplaydep=() # list of dependencies requiring X server

# template 1612142140
# template 1612161220

FORCE=$1
ASK_TO_REBOOT=false
Expand Down Expand Up @@ -206,6 +206,8 @@ os_check() {
OS_NAME="Mate"
elif [ -d ~/.pt-os-dashboard ] || [ -d ~/.pt-dashboard ] || [ -f ~/.pt-dashboard-config ]; then
OS_NAME="PiTop"
elif command -v emulationstation > /dev/null; then
OS_NAME="RetroPie"
elif cat /etc/os-release | grep "Raspbian" > /dev/null; then
OS_NAME="Raspbian" && IS_RASPBIAN=true
elif cat /etc/os-release | grep "Debian" > /dev/null; then
Expand Down
4 changes: 3 additions & 1 deletion installers/pianohat
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ examplesdep=( "numpy" "pygame" ) # list of python modules required by examples
somemoredep=() # list of additional dependencies
xdisplaydep=() # list of dependencies requiring X server

# template 1612142140
# template 1612161220

FORCE=$1
ASK_TO_REBOOT=false
Expand Down Expand Up @@ -206,6 +206,8 @@ os_check() {
OS_NAME="Mate"
elif [ -d ~/.pt-os-dashboard ] || [ -d ~/.pt-dashboard ] || [ -f ~/.pt-dashboard-config ]; then
OS_NAME="PiTop"
elif command -v emulationstation > /dev/null; then
OS_NAME="RetroPie"
elif cat /etc/os-release | grep "Raspbian" > /dev/null; then
OS_NAME="Raspbian" && IS_RASPBIAN=true
elif cat /etc/os-release | grep "Debian" > /dev/null; then
Expand Down
4 changes: 3 additions & 1 deletion installers/pibrella
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ examplesdep=() # list of python modules required by examples
somemoredep=() # list of additional dependencies
xdisplaydep=() # list of dependencies requiring X server

# template 1612142140
# template 1612161220

FORCE=$1
ASK_TO_REBOOT=false
Expand Down Expand Up @@ -206,6 +206,8 @@ os_check() {
OS_NAME="Mate"
elif [ -d ~/.pt-os-dashboard ] || [ -d ~/.pt-dashboard ] || [ -f ~/.pt-dashboard-config ]; then
OS_NAME="PiTop"
elif command -v emulationstation > /dev/null; then
OS_NAME="RetroPie"
elif cat /etc/os-release | grep "Raspbian" > /dev/null; then
OS_NAME="Raspbian" && IS_RASPBIAN=true
elif cat /etc/os-release | grep "Debian" > /dev/null; then
Expand Down