diff options
Diffstat (limited to 'update_repositories.sh')
-rw-r--r-- | update_repositories.sh | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/update_repositories.sh b/update_repositories.sh deleted file mode 100644 index f4762251729f..000000000000 --- a/update_repositories.sh +++ /dev/null @@ -1,15 +0,0 @@ -# Functions for updating repositories - -function update_repository() { - local repository_name="$1"; shift - - if [[ ! -z "${repository_name}" ]]; then - # update a single repository - aursync --repo "$LOCAL_REPOSITORY_NAME" --root "$PATH_REPOSITORIES/${repository_name}/pkg" -u - else - # update all repositories - for reponame in "${PATH_REPOSITORIES}/*"; do - bash repotools -U "$(basename ${reponame})" - done - fi -}
\ No newline at end of file |