The best I could come up with was to use a command to grab last year's last 
release (which should always be a reliable value, right?).  Something like this 
in the debian rules script:
sed -i 's/@@LASTRELEASE@@/'$(( $(date +%y) - 1 ))'.10/' <file>

Where file is either ubuntu-server-tips or the language-specific version
of that file.  I'm no Makefile magician, so my efforts to actually
implement this were brief.  If I need to put a little more effort into
it, I'd be happy to do so.  As a consolation gift, I've attached a patch
to fix the current problem, though it won't really work for long.

** Patch added: "Update URLs to Ubuntu help site"
   
https://bugs.launchpad.net/ubuntu/+source/fortunes-ubuntu-server/+bug/915651/+attachment/2671233/+files/fortunes-ubuntu-server-0.3-updateURL.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/915651

Title:
  Many fortunes point to dead URLs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fortunes-ubuntu-server/+bug/915651/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to