Fix errors in installing plugins 'contextmenu' and 'markasjunk2'.
This commit is contained in:
		| @@ -2234,7 +2234,7 @@ _plugin="contextmenu" | ||||
| add_plugin_arr+=("$_plugin") | ||||
| echo -e "\n\t\033[32mPlugin '$_plugin'\033[m" | ||||
| echononl "\tDownload Pluging '$_plugin'.." | ||||
| wget -O ${WEBSITE_BASEDIR}/Roundcube-Plugin-Context-Menu-master.zip \ | ||||
| wget -O ${WEBSITE_BASEDIR}/roundcube-contextmenu-master.zip \ | ||||
|    https://github.com/JohnDoh/Roundcube-Plugin-Context-Menu/archive/master.zip > $log_file 2>&1 | ||||
| if [[ $? -eq 0 ]] ; then | ||||
|    echo_ok | ||||
| @@ -2245,7 +2245,7 @@ fi | ||||
|  | ||||
| echononl "\tUnpack archiv into Plugin Folder" | ||||
| unzip -d ${WEBSITE_BASEDIR}/roundcubemail-${ROUNDCUBE_VERSION}/plugins/ \ | ||||
|    ${WEBSITE_BASEDIR}/Roundcube-Plugin-Context-Menu-master.zip > $log_file 2>&1 | ||||
|    ${WEBSITE_BASEDIR}/roundcube-contextmenu-master.zip > $log_file 2>&1 | ||||
| if [[ $? -eq 0 ]] ; then | ||||
|    echo_ok | ||||
| else | ||||
| @@ -2253,7 +2253,7 @@ else | ||||
|    error "$(cat $log_file)" | ||||
| fi | ||||
| echononl "\tCeate Symlink '$_plugin' in plugin folder.." | ||||
| ln -s Roundcube-Plugin-Context-Menu-master \ | ||||
| ln -s roundcube-contextmenu-master \ | ||||
|    ${WEBSITE_BASEDIR}/roundcubemail-${ROUNDCUBE_VERSION}/plugins/${_plugin} > $log_file 2>&1 | ||||
| if [[ $? -eq 0 ]] ; then | ||||
|    echo_ok | ||||
| @@ -2403,7 +2403,7 @@ _plugin="markasjunk2" | ||||
| add_plugin_arr+=("$_plugin") | ||||
| echo -e "\n\t\033[32mPlugin '$_plugin'\033[m" | ||||
| echononl "\tDownload Pluging '$_plugin'.." | ||||
| wget -O ${WEBSITE_BASEDIR}/Roundcube-Plugin-Mark-as-Junk-2-master.zip \ | ||||
| wget -O ${WEBSITE_BASEDIR}/roundcube-markasjunk2-master.zip \ | ||||
|    https://github.com/JohnDoh/Roundcube-Plugin-Mark-as-Junk-2/archive/master.zip > $log_file 2>&1 | ||||
| if [[ $? -eq 0 ]] ; then | ||||
|    echo_ok | ||||
| @@ -2414,7 +2414,7 @@ fi | ||||
|  | ||||
| echononl "\tUnpack archiv into Plugin Folder" | ||||
| unzip -d ${WEBSITE_BASEDIR}/roundcubemail-${ROUNDCUBE_VERSION}/plugins/ \ | ||||
|    ${WEBSITE_BASEDIR}/Roundcube-Plugin-Mark-as-Junk-2-master > $log_file 2>&1 | ||||
|    ${WEBSITE_BASEDIR}/roundcube-markasjunk2-master.zip > $log_file 2>&1 | ||||
| if [[ $? -eq 0 ]] ; then | ||||
|    echo_ok | ||||
| else | ||||
| @@ -2422,7 +2422,7 @@ else | ||||
|    error "$(cat $log_file)" | ||||
| fi | ||||
| echononl "\tCeate Symlink '$_plugin' in plugin folder.." | ||||
| ln -s Roundcube-Plugin-Mark-as-Junk-2-master \ | ||||
| ln -s roundcube-markasjunk2-master \ | ||||
|    ${WEBSITE_BASEDIR}/roundcubemail-${ROUNDCUBE_VERSION}/plugins/${_plugin} > $log_file 2>&1 | ||||
| if [[ $? -eq 0 ]] ; then | ||||
|    echo_ok | ||||
|   | ||||
		Reference in New Issue
	
	Block a user