Browse Source

bash: remove postun script

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@6893 ec354946-7b23-47d6-9f5a-488ba84defc7
iwamoto 12 years ago
parent
commit
c94964fd0c
1 changed files with 4 additions and 19 deletions
  1. 4 19
      b/bash/bash-vl.spec

+ 4 - 19
b/bash/bash-vl.spec

@@ -6,7 +6,7 @@ Summary(ja):  GNU Bourne Again シェル (bash).
 
 Name:         bash
 Version:      %{bashversion}.%{patchlevel}
-Release:      1%{?_dist_release}
+Release:      2%{?_dist_release}
 
 Group:        System Environment/Shells
 License:      GPLv3+
@@ -250,7 +250,6 @@ popd
 
 %find_lang %{name}
 
-
 %clean
 rm -rf %{buildroot}
 
@@ -294,23 +293,6 @@ then
 end
 f:close()
 
-%postun -p <lua>
-t={}
-for line in io.lines("/etc/shells")
-do
-  if line ~= "/bin/bash" and line ~= "/bin/sh"
-  then
-    table.insert(t,line)
-  end
-end
-
-f = io.open("/etc/shells", "w+")
-for n,line in pairs(t)
-do
-  f:write(line.."\n")
-end
-
-
 %files -f %{name}.lang
 %defattr(-,root,root)
 %doc CHANGES COPYING
@@ -335,6 +317,9 @@ end
 
 
 %changelog
+* Sat Oct  6 2012 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 4.2.37-2
+- remove postun lua script because bash will be never uninstalled
+
 * Mon Sep 17 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 4.2.37-1
 - update to 4.2 patch level 37