languages wouldn't update via multi updates

This commit is contained in:
Squidly271 2022-09-03 12:37:43 -04:00
parent d90e435b97
commit 14086d4ef1
5 changed files with 37 additions and 2 deletions

View File

@ -1864,7 +1864,7 @@ function updateMulti() {
openBox('/plugins/<?=$plugin?>/scripts/installMulti.php?plugin='+plugin+'&docker='+docker,tr('Install '+makePlural("Application",dockerCount)),600,1100,true);
} else {
<?if ($nchanCom):?>
ca_openPlugin('multiplugin install '+plugin,tr('Install '+makePlural("Application",pluginCount)),'','refresh');
ca_openPlugin('multiplugin update '+plugin,tr('Install '+makePlural("Application",pluginCount)),'','refresh');
<?else:?>
openBox('/plugins/<?=$plugin?>/scripts/installMultiPlugin.php&arg1='+plugin,tr('Install '+makePlural("Application",pluginCount)),600,900,true);
<?endif;?>

View File

@ -1,4 +1,4 @@
6e0fd877fd62e42e17b284d879e4ac0c ./Apps.page
bcdbfc0c658bcc641a809f45808fbd95 ./Apps.page
4e55f7483b661af21a25b677179baffe ./CA_notices.page
42a1658a916a3a3eed2a9f2af80603c4 ./ca_settings.page
e718d7825dbdc96a17a915079222b098 ./default.cfg

View File

@ -0,0 +1,14 @@
#!/usr/bin/php
<?
###############################################################
# #
# Community Applications copyright 2015-2022, Andrew Zawadzki #
# Licenced under GPLv2 #
# #
###############################################################
if ( $argv[1] == "check" || $argv[1] == "checkall" )
return;
echo "Executing Community Applications Post-Plugin Settings\n";
@unlink("/tmp/community.applications/pluginPending/{$argv[2]}");
echo "Finished";
?>

View File

@ -0,0 +1,21 @@
#!/usr/bin/php
<?
###############################################################
# #
# Community Applications copyright 2015-2022, Andrew Zawadzki #
# Licenced under GPLv2 #
# #
###############################################################
if ( $argv[1] == "check" || $argv[1] == "checkall" )
return;
echo "Executing Community Applications Pre-Plugin Settings\n";
@mkdir("/tmp/community.applications/pluginPending",0777,true);
touch("/tmp/community.applications/pluginPending/{$argv[2]}");
if ( $argv[1] == "update" ) {
if ( is_file("/var/log/plugins/{$argv[2]}") )
passthru("/usr/local/emhttp/plugins/dynamix.plugin.manager/scripts/plugin check ".escapeshellarg($argv[2]));
return;
}
?>