diff options
Diffstat (limited to 'src/abslibre-tools')
-rwxr-xr-x | src/abslibre-tools/librerelease | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/src/abslibre-tools/librerelease b/src/abslibre-tools/librerelease index 8ba8741..09f2119 100755 --- a/src/abslibre-tools/librerelease +++ b/src/abslibre-tools/librerelease @@ -3,21 +3,20 @@ # Uploads packages into [staging] # Copyright 2010 Nicolás Reynolds - -# ---------- GNU General Public License 3 ---------- - +# Copyright 2013 Luke Shumaker +# # This file is part of Parabola. - +# # Parabola is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. - +# # Parabola is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. - +# # You should have received a copy of the GNU General Public License # along with Parabola. If not, see <http://www.gnu.org/licenses/>. @@ -29,16 +28,16 @@ check_vars libretools WORKDIR PARABOLAHOST LIBREDESTDIR SIGID || exit 1 #check_vars libretools SIGEXT HOOKPRERELEASE || exit 1 function usage { - echo "$(gettext "Usage: $0")" + print "Usage: %s [OPTIONS]" "${0##*/}" echo - echo "$(gettext "This script uploads packages on $WORKDIR/stagging")" - echo "$(gettext "to parabola server.")" + print "This script uploads packages on $WORKDIR/stagging" + print "to parabola server." echo - echo "$(gettext "OPTIONS:")" - echo "$(gettext " -h this message.")" - echo "$(gettext " -l only list packages but not upload them.")" - echo "$(gettext " -c clean packages on $WORKDIR/staging.")" - echo "$(gettext " -n dry-run")" + print "Options:" + print " -c Clean packages on $WORKDIR/staging" + print " -l Only list packages but not upload them" + print " -n Dry-run; don't actually do anything" + print " -h Show this message" } function list_packages { |