[arch-commits] Commit in lsb-release/trunk (lsb-release.install)
Jonas Witschel
diabonas at gemini.archlinux.org
Wed Feb 16 14:11:37 UTC 2022
Date: Wednesday, February 16, 2022 @ 14:11:37
Author: diabonas
Revision: 1133465
upgpkg: lsb-release 2.0.r48.3cf5103-1: upstream release
- Update the script to the latest version 2.0 from the Linux Foundation that I
was able to find. Adapt the build process accordingly and add a pkgver()
function.
- Remove the install script since populating /etc/arch-release appears to be
unnecessary and the file gets overwritten during upgrades of the filesystem
package anyway (FS#72284).
- Move the packaged /etc/lsb-release to a separate file and remove LSB_VERSION
since this should only be set by LSB compliant distributions and we don't
care.
- Update the license since the script claims to be licensed under the "GNU
General Public License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version."
- Change depends from bash to sh since the script uses the /bin/sh shebang.
- Update the URL to the latest version of the LSB specification.
- Update maintainer.
Deleted:
lsb-release/trunk/lsb-release.install
---------------------+
lsb-release.install | 12 ------------
1 file changed, 12 deletions(-)
Deleted: lsb-release.install
===================================================================
--- lsb-release.install 2022-02-16 13:54:12 UTC (rev 1133464)
+++ lsb-release.install 2022-02-16 14:11:37 UTC (rev 1133465)
@@ -1,12 +0,0 @@
-post_install() {
- echo "Arch Linux release" >> /etc/arch-release
-}
-
-post_upgrade() {
- sed -e "/Arch Linux release/d" -i /etc/arch-release
- echo "Arch Linux release" >> /etc/arch-release
-}
-
-pre_remove() {
- sed -e "/Arch Linux release/d" -i /etc/arch-release
-}
More information about the arch-commits
mailing list