Jools Wills
b3387cc461
don't try and create archives when doing create_bin if no install directory exists
2015-06-22 20:16:21 +01:00
Jools Wills
ce8ede4def
updated licence url (to RetroPie org). Remove . at end of licence url to avoid any confusion
2015-06-16 16:41:34 +01:00
Florian
be7214deb7
Merge branch 'master' of https://github.com/petrockblog/RetroPie-Setup
2015-03-28 06:20:06 +01:00
Florian
4df425c338
CHG: Updated header information
2015-03-28 06:19:16 +01:00
Jools Wills
385382adf0
local variable
...
report the correct missing file
2015-03-28 00:55:55 +00:00
Jools Wills
6a9f775a64
allow module to return list of required files
2015-03-27 20:00:38 +00:00
Florian
aab7fbd52d
CHG: Added license information to all files
2015-03-27 17:28:38 +01:00
Jools Wills
85f4072a26
add module id to action headings
2015-03-26 18:02:52 +00:00
Jools Wills
49a0768c8a
add platform subdirectory when creating binary archives
2015-03-13 22:39:34 +00:00
Jools Wills
2286b3694a
remove old debug/unused echo
...
simplify loop
2015-03-07 12:21:38 +00:00
Jools Wills
232e9627a3
instead of using md_params for passing parameters, just call the module function with the params so the function can use $1 $2 etc. makes it simpler when calling cross module functions as well as calling the function from within a module
2015-03-03 10:12:05 +00:00
Jools Wills
f62bd858b3
only print heading when running module action if an action is set
2015-02-28 21:24:23 +00:00
Jools Wills
e63176d4f0
update copyright date
2015-02-21 17:03:46 +00:00
Jools Wills
7f895601da
updated retropie_packages.sh usage information with more detailed description of commands
2015-02-16 17:00:13 +00:00
Jools Wills
294bcc0bbd
add clean module function to clean up its build folder/sources
2015-02-16 16:47:43 +00:00
Jools Wills
993793d9db
always output errors for modules so they are also included in logs
...
fix up logic after module, so we don't run steps when a previous error has occurred
2015-02-15 21:03:13 +00:00
Jools Wills
56ecb32e56
use md_ret_errors to handle errors from inside a module (and helper functions called from modules). dependency errors will now be handled properly.
2015-02-15 20:40:26 +00:00
Jools Wills
49bdb68955
rework of message / error handling:
...
* use arrays for info/error messages
* create a helper function to print our information to console/dialog etc
* rename prebious printMsg to printHeading
* fix for duplication of error messages in rp_callModule
2015-02-15 20:28:02 +00:00
Jools Wills
bdd71350c1
it is tidier to not include slash on binaries url
2015-02-07 23:05:52 +00:00
Jools Wills
5a970fd688
move shift and add commend regarding parameter passing
2015-01-31 21:08:30 +00:00
Jools Wills
e9553ce61c
allow parameters to be passed to modules - this is for possible future changes where we can have both gui configuration and commandline configuration for modules. It also simplifies the retropie_packages argument code
2015-01-31 16:24:14 +00:00
Jools Wills
bbaaad975c
various fixes based on recommendations from shellcheck
...
changed order of retronetplay module so functions can be found
2015-01-11 21:26:10 +00:00
Jools Wills
8b902ad292
styleguide changes:
...
* `command` -> $(command)
2015-01-11 17:44:37 +00:00
Jools Wills
231051ccad
styleguide changes:
...
* add newline to end of main scripts
2015-01-11 17:32:20 +00:00
Jools Wills
afa61f58a0
styleguide changes:
...
* some errors fixed from previous styleguide fixes
* some missed [ ]
2015-01-11 17:28:57 +00:00
Jools Wills
3875214236
styleguide changes:
...
* [[ ! -z "a" ]] -> [[ -n "a" ]]
2015-01-11 17:21:16 +00:00
Jools Wills
2fd9bd4e71
styleguide changes:
...
* [[ "a" != "" ]] -> [[ -n "a" ]]
2015-01-11 17:19:51 +00:00
Jools Wills
81fdba97fc
styleguide changes:
...
* [[ "a" == "" ]] -> [[ -z "a" ]]
2015-01-11 17:15:36 +00:00
Jools Wills
641178f761
styleguide changes:
...
* [ ] -> [[ ]]
* [ a = b ] -> [[ a == b ]]
note asplashscreen script left with [ ] as it doesn't specify bash directory
2015-01-11 17:11:11 +00:00
Jools Wills
19df42bc69
function naming in packages.sh to match other functions
2015-01-09 18:47:02 +00:00
Jools Wills
06e2636ab3
add flag for whether a platform has binary archives available and move archive url to platform config
...
hide binary install for platforms that don't have it
2015-01-08 22:05:54 +00:00
Jools Wills
6e1fef7813
added support for !platform flag to hide/disable a module for a specific platform
...
fix up / change logic in rp_callModule so you can't call modules that are not supported for a platform
add checkFlag function to simplify checking for a flag
added !odroid to dispmanx / modules / sdl1dispmanx as an initial example
2015-01-08 22:03:27 +00:00
Jools Wills
a132751df8
use nobin instead of nobindist
2015-01-07 00:47:55 +00:00
Jools Wills
795a37e722
handle configure after binary install for emulation station automatically
2015-01-07 00:28:11 +00:00
Jools Wills
65fb3868b7
fixed typo
2015-01-07 00:22:30 +00:00
Jools Wills
9a12b1ef88
initial support for creating/installing via split binary packages #553
2015-01-07 00:18:16 +00:00
Jools Wills
266e72de0b
do not force modules to have a menu setting - they may want to be hidden / commandline only
2015-01-05 19:26:24 +00:00
Jools Wills
9316fa5624
reorder some module register parameters, and add a new parameter/variable called rp_module_flags which will contain space separated flags
...
(currently will be adding only one - dispmanx - which will be used to determine if to allow the module to be enabled/disabled for working with
SDL dispmanx, which will decrease having functions for all modules for on/off)
2015-01-02 16:58:35 +00:00
Florian
6f441f1de1
Solved merge conflicts
2014-12-24 13:09:26 +01:00
Florian
44f286a3af
Merge branch 'srcbin_reorga'
...
Conflicts:
scriptmodules/packages.sh
2014-12-24 13:07:47 +01:00
Florian
db11ee596f
Removed typo
2014-12-24 13:06:32 +01:00
Jools Wills
4f04e3e7f8
move software ports / non emulators to a ports subfolder and number then from 250 onwards.
2014-12-17 03:55:14 +00:00
Jools Wills
c0548d608c
incorrect checking of $pushed return code - need to compare against something
2014-12-16 16:14:27 +00:00
Jools Wills
2a057ba87e
I must have been tired - push_error needs a $
2014-12-16 16:08:50 +00:00
Jools Wills
b450cf2d4e
woops. since we are looking at the return code from the cp_callModule function, if a function doesn't exist, we should return 0, not 1 (not a failure, just non existant).
2014-12-16 05:20:16 +00:00
Jools Wills
9db56b2b59
switch round return codes for rp_callModule (they were in reverse).
...
use return code of rp_callModule rather than testing the global ERRMSGS variable.
store errors in a local variable and appent to ERRMSGS so we don't abort due to an earlier error. Personally I prefer the script
to abort on an error, so I might add a configuration for this
2014-12-16 03:34:18 +00:00
Jools Wills
1000534635
correct instructions - package / remove is not called by default
2014-12-16 00:47:04 +00:00
Jools Wills
8602cb9bb6
prefix all retropackages functions for consistency
2014-12-13 06:30:09 +00:00
Jools Wills
a6bd68129b
some better logic for folder creation for modules. record whether we were able to pushd, and only popd if so, and remove any build/install folders after a module has run, in case it never needed them for some reason (or something failed).
2014-12-13 06:26:14 +00:00
Jools Wills
72459096fe
we need to return after looping though the function calls or else we will call configure twice (this
...
didn't happen before since we used another variable)
2014-12-13 03:37:34 +00:00