aboutsummaryrefslogtreecommitdiffstats
path: root/src/apk_state.h
diff options
context:
space:
mode:
authorTimo Teras <timo.teras@iki.fi>2009-01-16 13:59:36 +0200
committerTimo Teras <timo.teras@iki.fi>2009-01-16 13:59:36 +0200
commit3e6fc1389f1cdd06bf18b8fd6cd741c8b9e3e1f2 (patch)
treec152bd82b0fbb5e573a944534d670a54a5a3bbc6 /src/apk_state.h
parent6354a278883161704c7f8650a3bdde77f163c6ad (diff)
downloadaports-3e6fc1389f1cdd06bf18b8fd6cd741c8b9e3e1f2.tar.bz2
aports-3e6fc1389f1cdd06bf18b8fd6cd741c8b9e3e1f2.tar.xz
add: --upgrade|-u to control if upgrading is preferred or not
Diffstat (limited to 'src/apk_state.h')
-rw-r--r--src/apk_state.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/apk_state.h b/src/apk_state.h
index ac51e5b5df..d89af9868b 100644
--- a/src/apk_state.h
+++ b/src/apk_state.h
@@ -15,9 +15,8 @@
#include "apk_database.h"
#define APK_STATE_NOT_CONSIDERED 0
-#define APK_STATE_PREFER_UPGRADE 1
-#define APK_STATE_INSTALL 2
-#define APK_STATE_NO_INSTALL 3
+#define APK_STATE_INSTALL 1
+#define APK_STATE_NO_INSTALL 2
struct apk_change {
struct list_head change_list;