* use pisi stuff
This commit is contained in:
@@ -333,7 +333,7 @@ class Install(AtomicOperation):
|
|||||||
def update_info(self):
|
def update_info(self):
|
||||||
for x in self.files.list:
|
for x in self.files.list:
|
||||||
if x.type == 'info':
|
if x.type == 'info':
|
||||||
os.system('install-info /%s /usr/share/info/dir' % x.path)
|
pisi.util.run_batch('install-info /%s /usr/share/info/dir' % x.path)
|
||||||
|
|
||||||
def update_environment(self):
|
def update_environment(self):
|
||||||
# check if we have any shared objects or anything under
|
# check if we have any shared objects or anything under
|
||||||
@@ -484,7 +484,7 @@ class Remove(AtomicOperation):
|
|||||||
def update_info(self):
|
def update_info(self):
|
||||||
for x in self.files.list:
|
for x in self.files.list:
|
||||||
if x.type == 'info':
|
if x.type == 'info':
|
||||||
os.system('install-info --delete /%s /usr/share/info/dir ' % x.path)
|
pisi.util.run_batch('install-info --delete /%s /usr/share/info/dir ' % x.path)
|
||||||
|
|
||||||
|
|
||||||
def remove_single(package_name):
|
def remove_single(package_name):
|
||||||
|
|||||||
Reference in New Issue
Block a user