aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/dashboard/dashboard.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/dashboard/dashboard.inc b/packages/dashboard/dashboard.inc
index fefb8e03..0561d455 100644
--- a/packages/dashboard/dashboard.inc
+++ b/packages/dashboard/dashboard.inc
@@ -6,7 +6,7 @@ function dashboard_install() {
/* backup the pre-dashboard index.php file */
mwexec("cp /usr/local/www/index.php /usr/local/www/index.php.before_dashboard");
}
- mwexec("tar xzvpf -C /usr/local/www/ /usr/local/pkg/widgets.tgz");
+ mwexec("tar xzvpf /usr/local/pkg/widgets.tgz -C /usr/local/www/");
}
function dashboard_deinstall() {