summary refs log tree commit diff
path: root/pkgs/build-support
diff options
context:
space:
mode:
authorFelix Buehler <account@buehler.rocks>2022-01-30 23:12:32 +0100
committerFelix Buehler <account@buehler.rocks>2022-01-30 23:34:40 +0100
commit70ee115571821c47b2d71c4555ce8456a81cf819 (patch)
tree77a55265cc50d2538332e692a437f554b15b53d6 /pkgs/build-support
parent325d6de924522ed795ee7fb1e09c2099a8f855b3 (diff)
downloadnixpkgs-70ee115571821c47b2d71c4555ce8456a81cf819.tar
nixpkgs-70ee115571821c47b2d71c4555ce8456a81cf819.tar.gz
nixpkgs-70ee115571821c47b2d71c4555ce8456a81cf819.tar.bz2
nixpkgs-70ee115571821c47b2d71c4555ce8456a81cf819.tar.lz
nixpkgs-70ee115571821c47b2d71c4555ce8456a81cf819.tar.xz
nixpkgs-70ee115571821c47b2d71c4555ce8456a81cf819.tar.zst
nixpkgs-70ee115571821c47b2d71c4555ce8456a81cf819.zip
from-quicklisp: move urls-from-page.sh to its directory
Diffstat (limited to 'pkgs/build-support')
-rwxr-xr-xpkgs/build-support/upstream-updater/urls-from-page.sh14
1 files changed, 0 insertions, 14 deletions
diff --git a/pkgs/build-support/upstream-updater/urls-from-page.sh b/pkgs/build-support/upstream-updater/urls-from-page.sh
deleted file mode 100755
index db39286ccb0..00000000000
--- a/pkgs/build-support/upstream-updater/urls-from-page.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#! /bin/sh
-
-url="$1"
-protocol="${url%%:*}"
-path="${url#$protocol://}"
-server="${path%%/*}"
-basepath="${path%/*}"
-relpath="${path#$server}"
- 
-echo "URL: $url" >&2
-
-curl -A 'text/html; text/xhtml; text/xml; */*' -L -k "$url" | sed -re 's/^/-/;s/[^a-zA-Z][hH][rR][eE][fF]=("([^"]*)"|'\''([^'\'']*)'\''|([^"'\'' <>&]+)[ <>&])/\n+\2\3\4\n-/g' | \
-  sed -e '/^-/d; s/^[+]//; /^#/d;'"s/^\\//$protocol:\\/\\/$server\\//g" | \
-  sed -re 's`^[^:]*$`'"$protocol://$basepath/&\`"