MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Bugs and Requests => Topic started by: Spacedust on 2017-08-08, 22:21:21

Title: install-pure-ftpd-without-cap bug
Post by: Spacedust on 2017-08-08, 22:21:21
Please see:

Quote
sh /script/install-pure-ftpd-without-cap
*** Install Pure-ftpd rpm without capability (resolve for LXC container) ***
/script/install-pure-ftpd-without-cap: line 37: syntax error near unexpected token `('
/script/install-pure-ftpd-without-cap: line 37: `echo "    where [target-version] = 1.0.37-1 (by default)"'
Title: Re: install-pure-ftpd-without-cap bug
Post by: MRatWork on 2017-08-09, 03:29:26
For awhile, change:
Code: [Select]
if [ "${1} == "" ] ; then

to:
Code: [Select]
if [ "${1}" == "" ] ; then

in /script/install-pure-ftpd-without-cap