author: kx <kx@radix.pro> 2023-04-10 13:22:58 +0300
committer: kx <kx@radix.pro> 2023-04-10 13:22:58 +0300
commit: 8d6357f356cf9717e8e27eb3a6c4f782965656d2
parent: 8b7e76c7ad2445c0920e9d056728f7b6baaa0c43
Commit Summary:
Diffstat:
1 file changed, 2 insertions, 6 deletions
diff --git a/packages/n/whois/Makefile b/packages/n/whois/Makefile
index b3e08e4..c3fff50 100644
--- a/packages/n/whois/Makefile
+++ b/packages/n/whois/Makefile
@@ -13,7 +13,7 @@
# ftp://ftp.debian.org/debian/pool/main/w/whois/whois_5.2.1.tar.xz
#
-url = https://github.com/rfc1036/whois.git
+url = https://github.com/rfc1036
repo_name = whois
@@ -36,11 +36,7 @@ all: $(TARGETS)
$(git_repo):
@echo -e "\n======= Clone $(repo_name).git repository =======\n"
@rm -rf $(repo_name)
- @if [ "$(url)" = 'git://radix.pro' ]; then \
- git clone $(url)/$(repo_name).git $(repo_name) ; \
- else \
- git clone $(url) $(repo_name) ; \
- fi
+ @git clone $(url)/$(repo_name).git $(repo_name)
@touch $@
$(tarballs): $(git_repo)