diff options
author | rh <rh> | 2000-05-03 17:03:20 +0000 |
---|---|---|
committer | rh <rh> | 2000-05-03 17:03:20 +0000 |
commit | 81345ac6913bd0c6aeab7b85219d825546c8c605 (patch) | |
tree | 05108d529e254c4a29f7647bedb4add625affe51 /misc/staroffice/files | |
parent | a23e5f0014aceea37b85c8a266cd9cdefc765c34 (diff) | |
download | pkgsrc-81345ac6913bd0c6aeab7b85219d825546c8c605.tar.gz |
Depend on suse_linux>=6.1. This fixes PR 9013 by John A. Maier.
Adapt fetching script to new website layout.
Diffstat (limited to 'misc/staroffice/files')
-rwxr-xr-x | misc/staroffice/files/automate.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/staroffice/files/automate.sh b/misc/staroffice/files/automate.sh index d4c8abc499f..8e9820bbbb7 100755 --- a/misc/staroffice/files/automate.sh +++ b/misc/staroffice/files/automate.sh @@ -110,12 +110,12 @@ FROMSITE= [ x$http_proxy != x ] && FROMSITE=$SITE export LEN FIRSTNAME LASTNAME ADDR CITY STATE COUNTRY ZIP PHONE ACCT PASS EMAIL FROMSITE ftp -o index.html $HOMEPAGE -if grep 'A.*FREE.*' index.html >/dev/null 2>&1 ; then true; else +if grep 'staroffice.get.cgi' index.html >/dev/null 2>&1 ; then true; else echo 'getting index failed, answer was:' cat index.html exit 1 fi -FOO=`grep 'A.*FREE.*' index.html | sed -e 's/.*[hH][rR][eE][fF]="\(.*\)".*/\1/'` +FOO=`grep 'staroffice.get.cgi' index.html | tail +3 | head -1 | sed -e 's/.*[hH][rR][eE][fF]="\(.*\)".*/\1/'` ftp -o get.html $SUNPAGE$FOO ftp -o Welcome.jhtml "$SITE/servlet/EComActionServlet?LMLoadBalanced=&LMLoadBalanced=" if grep action Welcome.jhtml >/dev/null 2>&1 ; then true; else |