Kaydet (Commit) 09d308c5 authored tarafından Eray Özkural's avatar Eray Özkural

* fix: add removing notification

üst ea940d49
......@@ -320,6 +320,7 @@ class Remove(AtomicOperation):
inst_packagedb = packagedb.inst_packagedb
ctx.ui.status(_('Removing package %s') % self.package_name)
ctx.ui.notify(pisi.ui.removing, package = self.package, files = self.files)
if not ctx.installdb.is_installed(self.package_name):
raise Exception(_('Trying to remove nonexistent package ')
+ self.package_name)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment