Skip to content

Commit c5f2c05

Browse files
authored
Merge pull request #2910 from cmitu/skyscraper-pr10
skyscraper: add priorities.xml sample when installing
2 parents bad854f + 52b87b5 commit c5f2c05

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scriptmodules/supplementary/skyscraper.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ function install_skyscraper() {
4646
'hints.txt'
4747
'import'
4848
'resources'
49+
'cache/priorities.xml.example'
4950
)
5051
}
5152

@@ -231,6 +232,10 @@ function _init_config_skyscraper() {
231232
mkUserDir "$md_conf_dir/import/$folder"
232233
done
233234
cp -rf "$md_inst/import" "$md_conf_dir"
235+
236+
# Create the cache folder and add the sample 'priorities.xml' file to it
237+
mkdir -p "$md_conf_dir/cache"
238+
cp -f "$md_inst/priorities.xml.example" "$md_conf_dir/cache"
234239
}
235240

236241
# Scrape one system, passed as parameter

0 commit comments

Comments
 (0)