diff options
author | Herton Ronaldo Krzesinski <herton@mandriva.com.br> | 2007-05-08 14:54:13 +0000 |
---|---|---|
committer | Herton Ronaldo Krzesinski <herton@mandriva.com.br> | 2007-05-08 14:54:13 +0000 |
commit | f52260f8e82f866f7e7d8a0f9c06d79ef50c493b (patch) | |
tree | 24189be5dc450801c35d037cceeb4aede8b22165 | |
parent | b04f3dc826671fc8e150a0bce6d46245e3977e0e (diff) | |
download | rpm-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-- | AUTHORS | 2 | ||||
-rwxr-xr-x | create-file | 2 | ||||
-rw-r--r-- | rpm-helper.macros.in | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -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 |