Skip to content

Commit b834636

Browse files
authored
deploy helper script for user to separate platform config
1 parent c87f14f commit b834636

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

scriptmodules/supplementary/skyscraper.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ function sources_skyscraper() {
2828
}
2929

3030
function build_skyscraper() {
31+
rm --force .qmake.stash
3132
QT_SELECT=5 qmake
3233
make
3334
md_ret_require="$md_build/Skyscraper"
@@ -43,6 +44,7 @@ function install_skyscraper() {
4344
'Skyscraper'
4445
'supplementary/scraperdata/check_screenscraper_json_to_idmap.py'
4546
'supplementary/scraperdata/convert_platforms_json.py'
47+
'supplementary/scraperdata/deepdiff_peas_jsonfiles.py'
4648
'supplementary/scraperdata/peas_and_idmap_verify.py'
4749
)
4850
md_ret_files+=("${config_files[@]}")
@@ -220,13 +222,14 @@ function configure_skyscraper() {
220222

221223
_init_config_skyscraper
222224
chown -R "$__user":"$__group" "$configdir/all/skyscraper"
225+
chmod a+x "$md_inst"/*.py
223226
}
224227

225228
function _init_config_skyscraper() {
226229
local config_files=($(_config_files_skyscraper))
227230

228-
# assume new(er) install
229231
mkdir -p .pristine_cfgs
232+
# assume new(er) install
230233
for cf in "${config_files[@]}"; do
231234
bn=${cf##*/} # cut off all folders
232235
if [[ -e "$md_inst/$bn" ]]; then
@@ -237,7 +240,7 @@ function _init_config_skyscraper() {
237240

238241
local scraper_conf_dir="$configdir/all/skyscraper"
239242

240-
# Make sure the `artwork.xml` and other conf file(s) are present, but don't overwrite them on upgrades
243+
# Make sure the 'artwork.xml' and other conf file(s) are present, but don't overwrite them on upgrades
241244
local f_conf
242245
for f_conf in artwork.xml aliasMap.csv peas.json platforms_idmap.csv; do
243246
copyDefaultConfig "$md_inst/.pristine_cfgs/$f_conf" "$scraper_conf_dir/$f_conf"

0 commit comments

Comments
 (0)