Commit Graph

18 Commits

Author SHA1 Message Date
Nedko Arnaudov 441aeead1c Change shebang to bash
Script currently misbehaves with dash
2023-08-02 17:26:36 +03:00
Nedko Arnaudov 21ea117598 Add -n options 2023-08-02 16:19:59 +03:00
Nedko Arnaudov 932bf79501 Fix -w, -u and -b options 2023-08-02 16:17:29 +03:00
Nedko Arnaudov 0a25c7fa69 Mark that source was modified 2023-08-02 01:46:38 +03:00
Nedko Arnaudov 67c368e6fd Add -w, -u and -b options
* -w, --homepage
   Display the distribution WWW homepage URL.
 * -u, --support
   Display the distribution sUpport URL.
 * -b, --bugreport
   Display the distribution Bugreport URL.
2023-08-02 01:43:54 +03:00
Kamil ca8bd3cf22 Fix syntax error, missing ;;
$ ./lsb_release
./lsb_release: line 204: syntax error near unexpected token `)'
./lsb_release: line 204: `              AlmaLinux*)'
2022-04-05 15:02:00 +02:00
Neal Gompa a6c36a7438 Add basic support for some Red Hat distributions
redhat-lsb is not included in RHEL/CentOS 9, so in order to use this
as a substitute for lsb_release(1) formerly provided by redhat-lsb,
this adds some names to recognize and map to useful IDs.
2022-03-28 18:32:09 +02:00
Thorsten Kukuk 4c0cbb985b Some shell code cleanup 2022-03-25 13:45:40 +01:00
Bruno Pitrus 35a89b1306 Make script work with dash as /bin/sh.
`source` is non-portable, changed to `.`
2022-03-25 10:54:00 +01:00
Thorsten Kukuk ea3bd93865 Define Distribution ID based on PRETTY_NAME from /etc/os-release
Release version 3.1
2020-03-10 19:37:51 +01:00
Thorsten Kukuk 65c0d134f0 Update COPYING file 2017-08-15 11:38:49 +02:00
Thorsten Kukuk 29a7220359 Manual pages are in /usr/share/man 2017-08-15 11:37:20 +02:00
Thorsten Kukuk bcd4736c14 Adjust README 2017-08-15 11:31:50 +02:00
Thorsten Kukuk 6257c99f32 Fix date of creation in manual page
Document /etc/os-release usage of lsb_release
2017-08-15 11:21:46 +02:00
Thorsten Kukuk 79c35831cc Fix dependencies of manual page
Install "compat" links
2017-08-15 11:21:06 +02:00
Thorsten Kukuk 680796e1d8 Simplify a lot, remove all code for obsolete <distribution>-release
packages, we only use /etc/lsb_release and /etc/os-release
2017-08-15 10:49:06 +02:00
Thorsten Kukuk 1f3ad96133 lsb-release 2.0-SUSE sources 2017-08-15 09:01:18 +02:00
Thorsten Kukuk e3d3e103e4 Initial lsb-release-2.0 sources 2017-08-15 08:54:23 +02:00