[SPEC] fix for error while uninstalling webapi-plugins on emulator 61/166061/4
authorLukasz Bardeli <l.bardeli@samsung.com>
Fri, 5 Jan 2018 12:42:13 +0000 (13:42 +0100)
committerLukasz Bardeli <l.bardeli@samsung.com>
Fri, 5 Jan 2018 12:42:13 +0000 (13:42 +0100)
commitb255600438ca97272a8ac21751f880d2bd74e9c0
tree72953721c32997c605c9f28d91e190645d9bf571
parent5a728282804ead74c16df240175aac789d0e5399
[SPEC] fix for error while uninstalling webapi-plugins on emulator

On emulator there are two packages webapi-plugins-<profile>-extension-emulator and
webapi-plugins-profile_<profile>. Uninstalling one of them causes error
rm: cannot remove `/usr/lib/tizen-extensions-crosswalk/libtizen*.so': No such file or directory
rm: cannot remove `/usr/lib/tizen-extensions-crosswalk/plugins.json': No such file or directory
That's why it is needed to be check if file exists before remove

Change-Id: I25cf8d854a019637bcd05a3c686d86f4020a1cc2
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
packaging/webapi-plugins.spec