Skip to content

Commit

Permalink
skyscraper: add priorities.xml sample when installing
Browse files Browse the repository at this point in the history
  • Loading branch information
cmitu committed Dec 1, 2019
1 parent bad854f commit 52b87b5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scriptmodules/supplementary/skyscraper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ function install_skyscraper() {
'hints.txt'
'import'
'resources'
'cache/priorities.xml.example'
)
}

Expand Down Expand Up @@ -231,6 +232,10 @@ function _init_config_skyscraper() {
mkUserDir "$md_conf_dir/import/$folder"
done
cp -rf "$md_inst/import" "$md_conf_dir"

# Create the cache folder and add the sample 'priorities.xml' file to it
mkdir -p "$md_conf_dir/cache"
cp -f "$md_inst/priorities.xml.example" "$md_conf_dir/cache"
}

# Scrape one system, passed as parameter
Expand Down

0 comments on commit 52b87b5

Please sign in to comment.