summaryrefslogtreecommitdiff
path: root/libre/systemd
diff options
context:
space:
mode:
Diffstat (limited to 'libre/systemd')
-rw-r--r--libre/systemd/PKGBUILD30
1 files changed, 16 insertions, 14 deletions
diff --git a/libre/systemd/PKGBUILD b/libre/systemd/PKGBUILD
index e289938b3..7552e6e7b 100644
--- a/libre/systemd/PKGBUILD
+++ b/libre/systemd/PKGBUILD
@@ -31,7 +31,7 @@ md5sums=('SKIP'
prepare() {
cd "$pkgname"
- # Rename "Linux" -> "GNU/Linux"
+ # Rename "Linux" -> "GNU/Linux" (manuals)
sed -i 's|for Linux|for GNU/Linux|' man/daemon.xml man/systemd.xml
sed -i 's|of Linux|of GNU/Linux|' man/daemon.xml # man/systemd.nspawn.xml
sed -i 's|the Linux|the GNU/Linux|' man/bootup.xml man/daemon.xml
@@ -41,31 +41,33 @@ prepare() {
sed -i 's|arbitrary Linux system|arbitrary GNU/Linux system|' man/sd-bus-errors.xml
sed -i 's|For Linux abstract|For GNU/Linux abstract|' man/sd_is_fifo.xml
sed -i 's|as Linux abstract|as GNU/Linux abstract|' man/sd_notify.xml
- sed -i 's|individual Linux|individual GNU/Linux|;s|inside a Linux|inside a GNU/Linux|' man/systemd.xml
- sed -i '\|on Linux| s|Linux|GNU/Linux|' man/daemon.xml man/sd-login.xml man/systemd-logind.service.xml
- sed -i '\|Linux container| s|Linux|GNU/Linux|' man/systemd.xml man/systemd-machine-id-setup.xml
+ sed -i 's|inside a Linux|inside a GNU/Linux|' man/systemd.xml
+ sed -i 's|on Linux|on GNU/Linux|' man/daemon.xml man/sd-login.xml man/systemd-logind.service.xml
+ sed -i 's|Linux container|GNU/Linux container|' man/systemd.xml man/systemd-machine-id-setup.xml
sed -i 's|Linux-based|GNU/Linux-based|' man/systemd-nspawn.xml
- sed -i '\|On Linux| s|Linux|GNU/Linux|' man/systemd.socket.xml
+ sed -i 's|On Linux|On GNU/Linux|' man/daemon.xml man/systemd.socket.xml
sed -i '\|NAME=| s|Linux|GNU/Linux|;\|ID=| s|linux|gnu+linux|' man/os-release.xml
+
+ # Rename "Linux" -> "GNU/Linux" (source)
sed -i '\|os_pretty_name| s|Linux|GNU/Linux|' src/analyze/analyze.c
sed -i '\|pretty_name| s|Linux|GNU/Linux|' src/core/main.c
sed -i '\|os_name| s|Linux|GNU/Linux|' src/journal-remote/journal-gatewayd.c
- sed -i '\|PRETTY_NAME| s|Linux|GNU/Linux|' man/os-release.xml src/kernel-install/90-loaderentry.install
+ sed -i '\|PRETTY_NAME| s|Linux|GNU/Linux|' src/kernel-install/90-loaderentry.install
# Rename "Arch Linux", "arch-tree" -> "Parabola GNU/Linux-libre", "parabola-tree"
# Rename "Debian", "debian", "debian-tree" -> "gNewSense", "gnewsense", "gnewsense-tree"
# Rename "Fedora", "fedora" -> "BLAG", "blag"
sed -i 's|Arch Linux|Parabola GNU/Linux-libre|;s|arch-tree|parabola-tree|
s|Debian|gNewSense|;s|debian-tree|gnewsense-tree|
- s|Fedora|BLAG|;s|fedora|blag|
- s|ftp.halifax.rwth-aachen.de|blag.example.org|;s|Cloud|SaaS|
+ s|Fedora|BLAG|;s|fedora|blag|g
+ s|ftp[.]halifax[.]rwth-aachen[.]de|blag.example.org|;s|Cloud|SaaS|g
' man/systemd-nspawn.xml
- sed -i 's| (Beefy Miracle)| (170k)|
- \|NAME=| s|Fedora|BLAG|;\|NAME=| s|Debian GNU/Linux|gNewSense|
- \|ID=| s|fedora|blag|;\|ID=| s|debian|gnewsense|
- \|PRETTY_NAME| s|Fedora|BLAG|
- s|fedoraproject.org|blagblagblag.org|;s|bugzilla.redhat.com|blagblagblag.org|
- s|:fedoraproject|:blagblagblag|
+ sed -i 's|fedoraproject|blagblagblag|;s|bugzilla[.]redhat[.]com|blagblagblag.org|
+ \|=| s|17|14|g
+ \|NAME=| s|Debian|gNewSense|;\|NAME=| s|Fedora|BLAG|
+ \|NAME=| s|fedora|blag|;\|NAME=| s| [(]Beefy Miracle[)]||
+ \|VERSION=| s| [(]Beefy Miracle[)]||
+ \|ID=| s|debian|gnewsense|;\|ID=| s|ubuntu|trisquel|;\|ID=| s|fedora|blag|;\|ID=| s|centos|blag|
' man/os-release.xml
# Rename "Linux Boot Manager" -> "Systemd Boot Manager"