diff --git a/internal/edgeapps/edgeapps.go b/internal/edgeapps/edgeapps.go index 05650bf..bd98be7 100644 --- a/internal/edgeapps/edgeapps.go +++ b/internal/edgeapps/edgeapps.go @@ -71,6 +71,7 @@ const optionsEnvFilename = "/edgeapp.env" const authEnvFilename = "/auth.env" const runnableFilename = "/.run" const appdataFoldername = "/appdata" +const postInstallFilename = "/edgebox-postinstall.done" const myEdgeAppServiceEnvFilename = "/myedgeapp.env" const defaultContainerOperationSleepTime time.Duration = time.Second * 10 @@ -384,6 +385,12 @@ func SetEdgeAppNotInstalled(ID string) bool { log.Println(err) } + err = os.Remove(utils.GetPath(utils.EdgeAppsPath) + ID + postInstallFilename) + if err != nil { + result = false + log.Println(err) + } + buildFrameworkContainers() return result