Kaydet (Commit) e737b348 authored tarafından Your Name's avatar Your Name

fix postops

üst 30d86a59
......@@ -330,7 +330,7 @@ class Install(AtomicOperation):
return 0
ctx.ui.info(_('Pre-install configuration have been run for \"{}\"'.format(
self.pkginfo.name)), color='brightyellow')
if not self.trigger.preinstall(ctx.config.tmp_dir()):
if not self.trigger.preinstall(self.package.pkg_dir()):
util.clean_dir(self.package.pkg_dir())
ctx.ui.error(
_('Pre-install configuration of \"{}\" package failed.').format(self.pkginfo.name))
......@@ -538,7 +538,7 @@ class Install(AtomicOperation):
for postops in ctx.const.postops:
try:
self.package.extract_file_synced(
postops, ctx.config.tmp_dir())
postops, self.package.pkg_dir())
except:
pass
......
......@@ -14,6 +14,8 @@
"""misc. utility functions, including process and file utils"""
import os
# Inary Modules
from unicodedata import category as ucategory
import inary.context as ctx
......
#!/bin/sh
#sulinstrapt betiği ile sulinos chroot oluşturabilirsiniz veya diskinize kurulum yapabilirsiniz
set -e
if [ "$1" == "" ] || [ "$1" == "-*" ]
then
echo "Usage: sulinstrapt [directory]"
......
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