From fa22a06bad529fccd4083f9a355902e4e5cb09c9 Mon Sep 17 00:00:00 2001 From: Einhard Leichtfuß Date: Sun, 1 Apr 2018 01:06:37 +0200 Subject: Set up update.sh for vcs packages Therefore, use $vcs_langs instead of $langs, due to fra-deu and deu-fra missing in the vcs tree. Furthermore, in - svn/sample.PKGBUILD, `- change the default pkgrel to 2, since any update is forced, i.e. there is no version change asking for update; - update.sh, `- add a usage note, `- require a specific type (e.g. src) to be supplied, `- remove the need to specify $ext for -u, `- set up a handle_all_vcs() function specifically for VCS sources, i.e. svn, `- move the download of freedict-database.json to handle_all(). --- basic.sh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'basic.sh') diff --git a/basic.sh b/basic.sh index 6e90dbc..2220e27 100644 --- a/basic.sh +++ b/basic.sh @@ -8,6 +8,13 @@ langs=( spa-eng eng-spa ) +typeset -a vcs_langs +vcs_langs=( + deu-eng eng-deu + fra-eng eng-fra + spa-eng eng-spa + ) + function init { tmp_d="$(mktemp -d)" -- cgit v1.2.3