diff options
author | Erich Eckner <git@eckner.net> | 2016-04-28 21:49:29 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2016-04-29 10:00:42 +0200 |
commit | 90c12cc677d7d136312d51d9b8dc299ecd1d4088 (patch) | |
tree | 99710a30c3e204f991f3e2bec736a29e3c5b3d23 /neuesPerlPaket | |
parent | 59c50aec2ab54b114cf309e232e1f0623f327f40 (diff) | |
download | archlinuxewe-90c12cc677d7d136312d51d9b8dc299ecd1d4088.tar.xz |
neuesPerlPaket versteht jetzt auch Pakete mit "::" im Namen
Diffstat (limited to 'neuesPerlPaket')
-rwxr-xr-x | neuesPerlPaket | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/neuesPerlPaket b/neuesPerlPaket index b75b9ad1f..daf69a57b 100755 --- a/neuesPerlPaket +++ b/neuesPerlPaket @@ -6,9 +6,9 @@ then exit 1 fi -cpanName="$1" +cpanName="$(echo "$1" | sed 's|::|-|g')" url="https://metacpan.org/release/${cpanName}" -pkgname="perl-$(echo "${cpanName,,}" | sed 's|::|-|g')" +pkgname="perl-${cpanName,,}" me="$(readlink -f "$0")" cd "$(dirname "${me}")" |