Skip to content
Permalink
Browse files

skyscraper: add priorities.xml sample when installing

  • Loading branch information
cmitu committed Dec 1, 2019
1 parent bad854f commit 52b87b5ff9ab85fb0a7e817c4e7c8b2dd431db1e
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 52b87b5

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