diff options
author | José Bollo <jose.bollo@iot.bzh> | 2016-02-04 15:43:49 +0100 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2016-02-04 15:48:32 +0100 |
commit | 50dd441a11440201e1da9da81a7103677e2282ad (patch) | |
tree | 489d653e78e1be60ae10877656c7aa09c9c49297 /src/wgtpkg-install.c | |
parent | bb15844347ed0d53a795d24dce7035ab27df4e53 (diff) |
Adding uninstallation of widgets
Change-Id: I8558a77312590181de5313c89ea4c9bdb9b477c7
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/wgtpkg-install.c')
-rw-r--r-- | src/wgtpkg-install.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wgtpkg-install.c b/src/wgtpkg-install.c index b8646fa..deb2741 100644 --- a/src/wgtpkg-install.c +++ b/src/wgtpkg-install.c @@ -137,7 +137,7 @@ static int install_icon(const struct wgt_desc *desc) int rc; create_directory(FWK_ICON_DIR, 0755, 1); - rc = snprintf(link, sizeof link, "%s/%s@%s", FWK_ICON_DIR, desc->id, desc->ver); + rc = snprintf(link, sizeof link, "%s/%s", FWK_ICON_DIR, desc->idaver); if (rc >= sizeof link) { ERROR("link to long in install_icon"); errno = EINVAL; |