diff options
Diffstat (limited to 'makechrootpkg')
-rwxr-xr-x | makechrootpkg | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/makechrootpkg b/makechrootpkg index e50d43e..09a5e7e 100755 --- a/makechrootpkg +++ b/makechrootpkg @@ -97,6 +97,9 @@ for f in ${source[@]}; do cp "$f" "$uniondir/build/" fi done +if [ "$install" != "" -a -f "$install" ]; then + cp "$install" "$uniondir/build/" +fi if ! grep "^nobody" "$uniondir/etc/sudoers" >/dev/null 2>&1; then echo "allowing 'nobody' sudo rights in the chroot" |