fix unpack.sh directory
This commit is contained in:
parent
831d9ae9a2
commit
63906d328f
1 changed files with 1 additions and 1 deletions
2
btv
2
btv
|
@ -252,7 +252,7 @@ def serialize(snap, outdir, key, snap_from=None):
|
|||
f.write("#! /bin/sh\n\nsha512sum --check manifest.sha512\n")
|
||||
os.chmod(f.name, 0o500)
|
||||
|
||||
shutil.copy("/usr/share/btv/unpack.sh", "unpack.sh")
|
||||
shutil.copy("/usr/share/btv/unpack.sh", os.path.join(directory, "unpack.sh"))
|
||||
os.chmod("unpack.sh", 0o500)
|
||||
|
||||
## fix permissions and ownership of created objects
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue