bu ne ya...
This commit is contained in:
+2
-2
@@ -21,8 +21,8 @@ def remove(package_name):
|
|||||||
for fileinfo in installdb.files(package_name).list:
|
for fileinfo in installdb.files(package_name).list:
|
||||||
fpath = os.path.join(config.destdir, fileinfo.path)
|
fpath = os.path.join(config.destdir, fileinfo.path)
|
||||||
# TODO: We have to store configuration files for futher
|
# TODO: We have to store configuration files for futher
|
||||||
# usage. Currently we'are doing it like rpm does and saving
|
# usage. Currently we'are doing it like rpm does, saving
|
||||||
# with a prefix, leaving the user to edit it. In the future
|
# with a prefix and leaving the user to edit it. In the future
|
||||||
# we'll have a plan for these configuration files.
|
# we'll have a plan for these configuration files.
|
||||||
if fileinfo.type == const.conf:
|
if fileinfo.type == const.conf:
|
||||||
os.rename(fpath, fpath+".pisi")
|
os.rename(fpath, fpath+".pisi")
|
||||||
|
|||||||
Reference in New Issue
Block a user