summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorSimon Rettberg2014-06-12 17:55:59 +0200
committerSimon Rettberg2014-06-12 17:55:59 +0200
commit7e47aa33e88b85c68092d40966d227900a5854bb (patch)
treeb31000eccc0d4ae456ad7de2e3cf9adf16ab5537 /modules
parentAdd .slx-ellipsis class to prevent long fields from overflowing - currently u... (diff)
downloadslx-admin-7e47aa33e88b85c68092d40966d227900a5854bb.tar.gz
slx-admin-7e47aa33e88b85c68092d40966d227900a5854bb.tar.xz
slx-admin-7e47aa33e88b85c68092d40966d227900a5854bb.zip
[minilinux] Add feature to update all components at once
Diffstat (limited to 'modules')
-rw-r--r--modules/minilinux.inc.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/minilinux.inc.php b/modules/minilinux.inc.php
index 17cb7c86..8080b76d 100644
--- a/modules/minilinux.inc.php
+++ b/modules/minilinux.inc.php
@@ -38,7 +38,8 @@ class Page_MiniLinux extends Page
$file['uid'] = 'dlid' . $count++;
$local = CONFIG_HTTP_DIR . '/' . $system['id'] . '/' . $file['name'];
if (!file_exists($local) || filesize($local) !== $file['size'] || md5_file($local) !== substr($file['md5'], 0, 32)) {
- $file['changed'] = true;
+ $file['fileChanged'] = true;
+ $system['systemChanged'] = true;
}
$taskId = Property::getDownloadTask($file['md5']);
if ($taskId !== false) {