aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHerton Ronaldo Krzesinski <herton@mandriva.com.br>2007-05-08 14:54:13 +0000
committerHerton Ronaldo Krzesinski <herton@mandriva.com.br>2007-05-08 14:54:13 +0000
commitf52260f8e82f866f7e7d8a0f9c06d79ef50c493b (patch)
tree24189be5dc450801c35d037cceeb4aede8b22165
parentb04f3dc826671fc8e150a0bce6d46245e3977e0e (diff)
downloadrpm-helper-f52260f8e82f866f7e7d8a0f9c06d79ef50c493b.tar
rpm-helper-f52260f8e82f866f7e7d8a0f9c06d79ef50c493b.tar.gz
rpm-helper-f52260f8e82f866f7e7d8a0f9c06d79ef50c493b.tar.bz2
rpm-helper-f52260f8e82f866f7e7d8a0f9c06d79ef50c493b.tar.xz
rpm-helper-f52260f8e82f866f7e7d8a0f9c06d79ef50c493b.zip
fixed deprecated chown syntax inside create-file and del-shell usage
inside rpm-helper.macros.in, reported by Vincent Danen on ticket #30568. fixed my entry in AUTHORS file
-rw-r--r--AUTHORS2
-rwxr-xr-xcreate-file2
-rw-r--r--rpm-helper.macros.in2
3 files changed, 3 insertions, 3 deletions
diff --git a/AUTHORS b/AUTHORS
index d3383e1..a0e7ac2 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -1,4 +1,4 @@
Frédéric Lepied <flepied@mandriva.com>
-Herton Ronaldo Krzesinski <herton@mandriva.com> (*-syslog scripts)
+Herton Ronaldo Krzesinski <herton@mandriva.com>
Thierry Vignaud <tvignaud@mandriva.com>
Guillaume Rousse <guillomovitch@mandriva.org>
diff --git a/create-file b/create-file
index 6cdb1e0..6ae3417 100755
--- a/create-file
+++ b/create-file
@@ -24,7 +24,7 @@ mode=$6 # mode of the file
if [ ! -f $file ]; then
touch $file
- chown $owner.$group $file
+ chown $owner:$group $file
chmod $mode $file
fi
diff --git a/rpm-helper.macros.in b/rpm-helper.macros.in
index 78fa634..409f474 100644
--- a/rpm-helper.macros.in
+++ b/rpm-helper.macros.in
@@ -42,7 +42,7 @@
%{nil}
%_del_shell_helper %_rpm_helper_dir/del-shell
-%_preun_shelldel() %_del_shell_helper %{name} $1 \
+%_preun_shelldel() %_del_shell_helper %{name} $1 %{1} \
%{nil}
%_add_syslog_helper %_rpm_helper_dir/add-syslog