Fix the mistake to uninstall preload package by pkgid. sandbox/xuwc/reuse_create_env
authorwanchao.xu <wanchao.xu@samsung.com>
Sat, 14 Sep 2024 06:40:29 +0000 (14:40 +0800)
committerwanchao.xu <wanchao.xu@samsung.com>
Sat, 14 Sep 2024 06:45:26 +0000 (14:45 +0800)
Change-Id: I1c0431af9f872f48bf84e7eb9a6c57a7cd0cdfcd
Signed-off-by: wanchao.xu <wanchao.xu@samsung.com>
plugins/backend/zypppkgmgr.py

index 97f245c..142d135 100644 (file)
@@ -1186,7 +1186,7 @@ if [ -n "$pkgs" ]; then
           fi
         fi
         if [ -f $cmd ]; then
-          $cmd -d $pkg $options --force-remove
+          $cmd -d $pkgid $options --force-remove
         else
           echo "$cmd is not installed"
           exit 1