Fix filename expansion in vsftpd_conf_migrate.sh
This commit is contained in:
parent
a5222c1cb2
commit
4d37c01b05
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: vsftpd
|
Name: vsftpd
|
||||||
Version: 3.0.3
|
Version: 3.0.3
|
||||||
Release: 21%{?dist}
|
Release: 22%{?dist}
|
||||||
Summary: Very Secure Ftp Daemon
|
Summary: Very Secure Ftp Daemon
|
||||||
|
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
@ -149,6 +149,9 @@ mkdir -p $RPM_BUILD_ROOT/%{_var}/ftp/pub
|
|||||||
%{_var}/ftp
|
%{_var}/ftp
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Apr 27 2018 Ondřej Lysoněk <olysonek@redhat.com> - 3.0.3-22
|
||||||
|
- Fix filename expansion in vsftpd_conf_migrate.sh
|
||||||
|
|
||||||
* Thu Apr 05 2018 Ondřej Lysoněk <olysonek@redhat.com> - 3.0.3-21
|
* Thu Apr 05 2018 Ondřej Lysoněk <olysonek@redhat.com> - 3.0.3-21
|
||||||
- Improve documentation of better_stou in the man page
|
- Improve documentation of better_stou in the man page
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#move old config files and symlink them
|
#move old config files and symlink them
|
||||||
#shipped with vsftpd-2.0.1-6
|
#shipped with vsftpd-2.0.1-6
|
||||||
PREFIX="vsftpd"
|
PREFIX="vsftpd"
|
||||||
for file in $( ls /etc/${PREFIX}.* ); do
|
for file in /etc/${PREFIX}.*; do
|
||||||
if [ ! -L $file ]; then
|
if [ ! -L $file ]; then
|
||||||
new=`echo $file | sed s/${PREFIX}\./${PREFIX}\\\\//g | sed s/\.rpmsave//g`
|
new=`echo $file | sed s/${PREFIX}\./${PREFIX}\\\\//g | sed s/\.rpmsave//g`
|
||||||
mv -f ${file} ${new}
|
mv -f ${file} ${new}
|
||||||
|
Loading…
Reference in New Issue
Block a user