summaryrefslogtreecommitdiffstats
path: root/libopkg
diff options
context:
space:
mode:
Diffstat (limited to 'libopkg')
-rw-r--r--libopkg/opkg_upgrade.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libopkg/opkg_upgrade.c b/libopkg/opkg_upgrade.c
index ed2fc3a..925d9d8 100644
--- a/libopkg/opkg_upgrade.c
+++ b/libopkg/opkg_upgrade.c
@@ -74,6 +74,6 @@ int opkg_upgrade_pkg(opkg_conf_t *conf, pkg_t *old)
free(old_version);
free(new_version);
- new->state_flag |= SF_USER;
- return opkg_install_pkg(conf, new,1);
+ new->state_flag |= SF_USER;
+ return opkg_install_pkg(conf, new,1);
}