Skip to content
Permalink
Browse files

Merge pull request #2910 from cmitu/skyscraper-pr10

skyscraper: add priorities.xml sample when installing
  • Loading branch information
joolswills committed Dec 2, 2019
2 parents bad854f + 52b87b5 commit c5f2c05ce65e0eee0366dcdacb95e0b409448b6b
Showing with 5 additions and 0 deletions.
  1. +5 −0 scriptmodules/supplementary/skyscraper.sh
@@ -46,6 +46,7 @@ function install_skyscraper() {
'hints.txt'
'import'
'resources'
'cache/priorities.xml.example'
)
}

@@ -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

0 comments on commit c5f2c05

Please sign in to comment.
You can’t perform that action at this time.