From 188c18176099b3672eea59d6c83d3aaf6b373081 Mon Sep 17 00:00:00 2001
From: Tobias Hintze
Date: Sat, 24 Jul 2004 20:19:45 +0000
Subject: [PATCH] Tobias Hintze | : created zsh.conf to
add $root/bin/zsh symlink added zsh to /etc/shells (sysfiles)
[2004071717593512278] (https://www.rocklinux.net/submaster)
git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@3611 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
---
package/base/sysfiles/etc_shells.txt | 1 +
package/misc/zsh/zsh.conf | 27 +++++++++++++++++++++++++++
2 files changed, 28 insertions(+)
create mode 100644 package/misc/zsh/zsh.conf
diff --git a/package/base/sysfiles/etc_shells.txt b/package/base/sysfiles/etc_shells.txt
index 24bdbd2dc..4beb9fd45 100644
--- a/package/base/sysfiles/etc_shells.txt
+++ b/package/base/sysfiles/etc_shells.txt
@@ -5,3 +5,4 @@
/bin/kiss
/bin/ksh
/bin/sh
+/bin/zsh
diff --git a/package/misc/zsh/zsh.conf b/package/misc/zsh/zsh.conf
new file mode 100644
index 000000000..0eb5204c7
--- /dev/null
+++ b/package/misc/zsh/zsh.conf
@@ -0,0 +1,27 @@
+# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
+#
+# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
+# Please add additional copyright information _after_ the line containing
+# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
+# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
+#
+# ROCK Linux: rock-src/package/misc/zsh/zsh.conf
+# ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of 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. A copy of the GNU General Public
+# License can be found at Documentation/COPYING.
+#
+# Many people helped and are helping developing ROCK Linux. Please
+# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
+# file for details.
+#
+# --- ROCK-COPYRIGHT-NOTE-END ---
+
+pkg_zsh_postmake() {
+ echo "Creating 'bin/zsh' symlink..."
+ ln -sfv $root/usr/bin/zsh $root/bin/zsh
+}
+postmake="pkg_zsh_postmake"
|