rpm-installer : include app_manager_extension.h file.
[platform/core/base/rpm-installer.git] / backend / src / rpm / rpm-installer.c
index 37ccc19..a217ea8 100755 (executable)
@@ -61,6 +61,7 @@
 #include <package-manager.h>
 #include <privilege-control.h>
 #include <app_manager.h>
+#include <app_manager_extension.h>
 #include <aul.h>
 #include <dlfcn.h>
 #define APP2EXT_ENABLE
@@ -3387,7 +3388,6 @@ int _rpm_uninstall_pkg_with_dbpath(const char *pkgid, bool is_system)
                }
                goto end;
        } else {
-               // del manifest
                memset(buff, '\0', BUF_SIZE);
                snprintf(buff, BUF_SIZE, "%s/%s.xml", OPT_SHARE_PACKAGES, pkgid);
 
@@ -3397,8 +3397,8 @@ int _rpm_uninstall_pkg_with_dbpath(const char *pkgid, bool is_system)
                        _LOGE("pkgmgr_parser_parse_manifest_for_uninstallation() failed, pkgid=[%s]", pkgid);
                }
 
+               // del manifest
                (void)remove(buff);
-
        }
 
        // execute privilege APIs