index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-12-06 22:29:32 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-12-07 09:59:30 -0600 |
commit | 1038e669649dae98c1cf9c354e680c62cf25638c (patch) | |
tree | 8088a11caace799fdb96040d39fe56abf3e5f55e /contrib/paclist.in | |
parent | 48188fbeee8bc39977bc2a0200dc5fb538db9ff1 (diff) |
-rwxr-xr-x | contrib/paclist.in | 8 |
diff --git a/contrib/paclist.in b/contrib/paclist.in index 84144f78..c766c2c5 100755 --- a/contrib/paclist.in +++ b/contrib/paclist.in @@ -17,6 +17,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +declare -r myname='paclist' + export TEXTDOMAIN='pacman' export TEXTDOMAINDIR='/usr/share/locale' @@ -28,9 +30,9 @@ if ! type gettext &>/dev/null; then fi if [[ -z $1 ]]; then - printf '%s - List all packages installed from a given repo\n' "${0##*/}" - printf 'Usage: %s <repo>\n' "${0##*/}" - printf 'Example: %s testing\n' "${0##*/}" + printf '%s - List all packages installed from a given repo\n' "$myname" + printf 'Usage: %s <repo>\n' "$myname" + printf 'Example: %s testing\n' "$myname" exit 1 fi |