From c53eb90304b81ac2ac320964b45e5d4052ae1335 Mon Sep 17 00:00:00 2001 From: Ermal Date: Fri, 4 Mar 2011 20:50:37 +0000 Subject: Be smart and remove the needs package sync toggle since the begining otherwise not behaving packages might mess up the whole thing. --- etc/inc/pkg-utils.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'etc') diff --git a/etc/inc/pkg-utils.inc b/etc/inc/pkg-utils.inc index a97de3a..9af1c43 100644 --- a/etc/inc/pkg-utils.inc +++ b/etc/inc/pkg-utils.inc @@ -1152,6 +1152,8 @@ function squash_from_bytes($size, $round = "") { function pkg_reinstall_all() { global $g, $config; + + @unlink('/conf/needs_package_sync'); $pkg_id = 0; $todo = array(); if (is_array($config['installedpackages']['package'])) -- cgit v1.1