Skip to content

Commit

Permalink
Explicit function call
Browse files Browse the repository at this point in the history
  • Loading branch information
pocomane committed Apr 8, 2021
1 parent 29c85e9 commit d5fb68c
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion MiSTer_misc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ us_is_updater_package(){
}

us_config() {
echo "Configuring $PACKAGE_NAME..."

if us_is_updater_package; then
# This is done with a wrapper for other packages, however the Updater is
Expand Down Expand Up @@ -291,7 +292,21 @@ us_package_do() {
# file) when no other parameter are given
us_set_package_info $@

"us_$ACTION"
case $ACTION in
"install")
us_install
;;
"remove")
us_remove
;;
"config")
us_config
;;
*)
echo "Invalid action '$1'"
exit -1;
;;
esac
}

# PACKAGE LIST
Expand Down

0 comments on commit d5fb68c

Please sign in to comment.