diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2015-09-10 00:02:43 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-09-22 16:15:02 -0300 |
commit | f28701ae5ddbbb857a3b55887f86f4c011c400de (patch) | |
tree | bc288e9d35925d1f44bc55c6b20a2b41427896fc | |
parent | 428be899437a1226c2a167b82014ecf1fbe30031 (diff) |
libre/systemd: more renames
-rw-r--r-- | libre/systemd/PKGBUILD | 42 |
1 files changed, 38 insertions, 4 deletions
diff --git a/libre/systemd/PKGBUILD b/libre/systemd/PKGBUILD index fbda69684..496d2db52 100644 --- a/libre/systemd/PKGBUILD +++ b/libre/systemd/PKGBUILD @@ -31,10 +31,44 @@ md5sums=('SKIP' prepare() { cd "$pkgname" - # Rename Linux -> GNU/Linux (PRETTY_NAME) - sed -i '\|PRETTY_NAME| s|Linux|GNU/Linux|' src/kernel-install/90-loaderentry.install - - # Rename Linux Boot Manager -> Systemd Boot Manager + # Rename "Linux" -> "GNU/Linux" + 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 + sed -i '\|missing| s|Linux|GNU/Linux|' man/kernel-install.xml + sed -i 's|UNIX/Linux|UNIX-like/Linux-like/GNU|' man/machinectl.xml + sed -i 's|to Linux|to GNU/Linux|' man/sd_bus_error_add_map.xml + 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|Linux-based|GNU/Linux-based|' man/systemd-nspawn.xml + sed -i '\|On Linux| s|Linux|GNU/Linux|'man/systemd.socket.xml + sed -i '\|NAME=| s|Linux|GNU/Linux|;\|ID=| s|linux|gnu+linux|' man/os-release.xml + 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 + + # 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| + ' 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| + ' man/os-release.xml + + # Rename "Linux Boot Manager" -> "Systemd Boot Manager" sed -i 's|Linux Boot Manager|Systemd Boot Manager|' src/boot/bootctl.c ./autogen.sh |