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 Server Tips, which is subscribed to fortunes-ubuntu-server in Ubuntu. https://bugs.launchpad.net/bugs/915651 Title: Many fortunes point to dead URLs Status in “fortunes-ubuntu-server” package in Ubuntu: New Bug description: The following fortunes in /usr/share/games/fortunes/ubuntu-server-tips contain URLs that are no longer valid: 'etckeeper' allows you to save changes you make to /etc in a bazaar repository. Useful to track and revert changes. http://tinyurl.com/etckeeper (The URL registered at tinyurl.com points to https://help.ubuntu.com/9.04/serverguide/C/etckeeper.html.) Need a little refresh on networking concept? Take a look at the networking section of the server guide. https://help.ubuntu.com/9.10/serverguide/C/networking.html Keep your servers time in sync, use the ntpd package. https://help.ubuntu.com/9.10/serverguide/C/NTP.html Package updates can be automated on your server using the unattended-upgrades package. https://help.ubuntu.com/9.10/serverguide/C/automatic-updates.html These could be fixed by pointing to the most recent (or perhaps the next) LTS release server guide URL. Even better would be for the installer script to grab the version of Ubuntu from the installation and create the URL on the fly. Maybe I'll submit a patch that does this. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fortunes-ubuntu-server/+bug/915651/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-server-tips Post to : [email protected] Unsubscribe : https://launchpad.net/~ubuntu-server-tips More help : https://help.launchpad.net/ListHelp

