[pacman-dev] [PATCH 1/2] Add support for bzr lp URLs in makepkg
8 Apr
2013
8 Apr
'13
10:32 a.m.
From: Alucryd <alucryd@gmail.com> Signed-off-by: Maxime Gauduin <alucryd@gmail.com> --- scripts/makepkg.sh.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index da620a4..d5b9077 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -269,6 +269,9 @@ get_protocol() { # strip leading filename local proto="${1##*::}" printf "%s\n" "${proto%%://*}" + elif [[ $1 = *lp:* ]]; then + local proto="${1##*::}" + printf "%s\n" "${proto%%lp:*}" else printf "%s\n" local fi -- 1.8.2
4266
Age (days ago)
4266
Last active (days ago)
0 comments
1 participants
participants (1)
-
Maxime Gauduin