index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2007-07-06 19:35:32 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-07-06 19:35:32 -0400 |
commit | a501b72e40062c9e606a787657582d1859c35d35 (patch) | |
tree | bea93688780e947a7531c1e8bbb979b1ba917448 /scripts/repo-add.sh.in | |
parent | b5f8a44bebc906bf6a29d30c159802b0c1a7dbb1 (diff) |
-rw-r--r-- | scripts/repo-add.sh.in | 33 |
diff --git a/scripts/repo-add.sh.in b/scripts/repo-add.sh.in index 3f009af8..1df650bd 100644 --- a/scripts/repo-add.sh.in +++ b/scripts/repo-add.sh.in @@ -32,29 +32,24 @@ TMP_DIR="" # print usage instructions usage() { - printf "repo-add (pacman) %s\n" "$myver" - echo - echo "$(gettext "usage: repo-add <path-to-db> [--force] <package> ...")" - echo - echo "$(gettext "repo-add will update a package database by reading a package file.")" - echo "$(gettext "Multiple packages to add can be specified on the command line.")" - echo - echo "$(gettext "The --force flag will add a 'force' entry to the sync database, which")" - echo "$(gettext "tells pacman to skip its internal version number checking and update")" - echo "$(gettext "the package regardless.")" - echo - echo "$(gettext "Example:")" - echo "$(gettext " repo-add /path/to/repo.db.tar.gz pacman-3.0.0.pkg.tar.gz")" - echo + printf "repo-add (pacman) %s\n\n" "$myver" + printf "$(gettext "Usage: %s <path-to-db> [--force] <package> ...\n\n")" "$0" + printf "$(gettext "\ +repo-add will update a package database by reading a package file.\n\ +Multiple packages to add can be specified on the command line.\n\n")" + printf "$(gettext "\ +The --force flag will add a 'force' entry to the sync database, which\n\ +tells pacman to skip its internal version number checking and update\n\ +the package regardless.\n\n")" + echo "$(gettext "Example: repo-add /path/to/repo.db.tar.gz pacman-3.0.0.pkg.tar.gz")" } version() { printf "repo-add (pacman) %s\n" "$myver" - printf "Copyright (C) 2006 Aaron Griffin <aaron@archlinux.org>.\n" - echo - printf "This is free software; see the source for copying conditions.\n" - printf "There is NO WARRANTY, to the extent permitted by law.\n" - echo + printf "$(gettext "\ +Copyright (C) 2006 Aaron Griffin <aaron@archlinux.org>.\n\n\ +This is free software; see the source for copying conditions.\n\ +There is NO WARRANTY, to the extent permitted by law.\n")" } # return calculated checksum of package |