[arch-commits] Commit in systemd-sysvcompat/repos/extra-any (3 files)
Dave Reisner
dreisner at archlinux.org
Sun May 27 16:30:05 UTC 2012
Date: Sunday, May 27, 2012 @ 12:30:05
Author: dreisner
Revision: 160002
archrelease: copy trunk to extra-any
Added:
systemd-sysvcompat/repos/extra-any/PKGBUILD
(from rev 160001, systemd-sysvcompat/trunk/PKGBUILD)
systemd-sysvcompat/repos/extra-any/locale.sh
(from rev 160001, systemd-sysvcompat/trunk/locale.sh)
Deleted:
systemd-sysvcompat/repos/extra-any/PKGBUILD
-----------+
PKGBUILD | 50 +++++++++++++++++++++++++++-----------------------
locale.sh | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 87 insertions(+), 23 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2012-05-27 16:29:56 UTC (rev 160001)
+++ PKGBUILD 2012-05-27 16:30:05 UTC (rev 160002)
@@ -1,23 +0,0 @@
-# $Id$
-# Maintainer: Dave Reisner <dreisner at archlinux.org>
-
-pkgname=systemd-sysvcompat
-pkgver=2
-pkgrel=2
-pkgdesc="sysvinit compat symlinks for systemd"
-arch=('any')
-url="http://www.archlinux.org"
-license=('GPL')
-depends=('systemd')
-conflicts=('sysvinit')
-
-package() {
- install -dm755 "$pkgdir/sbin"
- for tool in runlevel reboot shutdown poweroff halt telinit; do
- ln -s '/usr/bin/systemctl' "$pkgdir/sbin/$tool"
- done
-
- ln -s '../usr/lib/systemd/systemd' "$pkgdir/sbin/init"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: systemd-sysvcompat/repos/extra-any/PKGBUILD (from rev 160001, systemd-sysvcompat/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2012-05-27 16:30:05 UTC (rev 160002)
@@ -0,0 +1,27 @@
+# $Id$
+# Maintainer: Dave Reisner <dreisner at archlinux.org>
+
+pkgname=systemd-sysvcompat
+pkgver=3
+pkgrel=1
+pkgdesc="sysvinit compat for systemd"
+arch=('any')
+url="http://www.archlinux.org"
+license=('GPL')
+depends=('systemd')
+conflicts=('sysvinit' 'initscripts')
+source=('locale.sh')
+md5sums=('f15956945052bb911e5df81cf5e7e5dc')
+
+package() {
+ install -dm755 "$pkgdir/sbin"
+ for tool in runlevel reboot shutdown poweroff halt telinit; do
+ ln -s '/usr/bin/systemctl' "$pkgdir/sbin/$tool"
+ done
+
+ ln -s '../usr/lib/systemd/systemd' "$pkgdir/sbin/init"
+
+ install -Dm755 "$srcdir/locale.sh" "$pkgdir/etc/profile.d/locale.sh"
+}
+
+# vim:set ts=2 sw=2 et:
Copied: systemd-sysvcompat/repos/extra-any/locale.sh (from rev 160001, systemd-sysvcompat/trunk/locale.sh)
===================================================================
--- locale.sh (rev 0)
+++ locale.sh 2012-05-27 16:30:05 UTC (rev 160002)
@@ -0,0 +1,60 @@
+#!/bin/sh
+
+if [ ! -r /etc/locale.conf ]; then
+ return
+fi
+
+. /etc/locale.conf
+
+if [ "${LANG+x}" = 'x' ]; then
+ export LANG
+fi
+
+if [ "${LC_CTYPE+x}" = 'x' ]; then
+ export LC_CTYPE
+fi
+
+if [ "${LC_NUMERIC+x}" = 'x' ]; then
+ export LC_NUMERIC
+fi
+
+if [ "${LC_TIME+x}" = 'x' ]; then
+ export LC_TIME
+fi
+
+if [ "${LC_COLLATE+x}" = 'x' ]; then
+ export LC_COLLATE
+fi
+
+if [ "${LC_MONETARY+x}" = 'x' ]; then
+ export LC_MONETARY
+fi
+
+if [ "${LC_MESSAGES+x}" = 'x' ]; then
+ export LC_MESSAGES
+fi
+
+if [ "${LC_PAPER+x}" = 'x' ]; then
+ export LC_PAPER
+fi
+
+if [ "${LC_NAME+x}" = 'x' ]; then
+ export LC_NAME
+fi
+
+if [ "${LC_ADDRESS+x}" = 'x' ]; then
+ export LC_ADDRESS
+fi
+
+if [ "${LC_TELEPHONE+x}" = 'x' ]; then
+ export LC_TELEPHONE
+fi
+
+if [ "${LC_MEASUREMENT+x}" = 'x' ]; then
+ export LC_MEASUREMENT
+fi
+
+if [ "${LC_IDENTIFICATION+x}" = 'x' ]; then
+ export LC_IDENTIFICATION
+fi
+
More information about the arch-commits
mailing list