remove çalışsın.
This commit is contained in:
+2
-2
@@ -12,9 +12,9 @@ from os.path import join
|
||||
|
||||
def remove(package_name):
|
||||
"""Remove a goddamn package"""
|
||||
ui.info('Removing package ' + package_name)
|
||||
ui.info('Removing package %s\n' % package_name)
|
||||
if not installdb.is_installed(package_name):
|
||||
raise InstallError('Trying to remove nonexistent package '
|
||||
raise Exception('Trying to remove nonexistent package '
|
||||
+ package_name)
|
||||
for fileinfo in installdb.files(package_name).list:
|
||||
os.unlink( join(config.destdir, fileinfo.path) )
|
||||
|
||||
Reference in New Issue
Block a user