libopkg: pass PKG_UPGRADE variable to package scripts
[oweals/opkg-lede.git] / libopkg / pkg.h
index 775b656408cc47ec5ac704519ea1acd264856155..be98c7bf1e623fa82fdbee07f25fb0dce472f658 100644 (file)
@@ -184,6 +184,7 @@ struct pkg
      /* this flag specifies whether the package was installed to satisfy another
       * package's dependancies */
      int auto_installed;
+     int is_upgrade;
 };
 
 pkg_t *pkg_new(void);