Correcting win32-loader copy call to work with non-chrooted builds too.
This commit is contained in:
parent
f2a30e7d0e
commit
336a46f226
|
@ -46,17 +46,23 @@ if [ "${LH_DISTRIBUTION}" != "etch" ]
|
||||||
then
|
then
|
||||||
case "${LH_ARCHITECTURE}" in
|
case "${LH_ARCHITECTURE}" in
|
||||||
amd64|i386)
|
amd64|i386)
|
||||||
# Checking depends
|
if [ "${LH_CHROOT_BUILD}" = "enabled" ]
|
||||||
Check_package chroot/usr/lib/win32-loader/win32-loader.exe win32-loader
|
then
|
||||||
|
# Checking depends
|
||||||
|
Check_package chroot/usr/lib/win32-loader/win32-loader.exe win32-loader
|
||||||
|
|
||||||
# Restoring cache
|
# Restoring cache
|
||||||
Restore_cache cache/packages_binary
|
Restore_cache cache/packages_binary
|
||||||
|
|
||||||
# Installing depends
|
# Installing depends
|
||||||
Install_package
|
Install_package
|
||||||
|
|
||||||
|
# Copying win32-loader
|
||||||
|
cp chroot/usr/lib/win32-loader/* binary
|
||||||
|
else
|
||||||
|
cp /usr/lib/win32-loader/* binary
|
||||||
|
fi
|
||||||
|
|
||||||
# Copying win32-loader
|
|
||||||
cp chroot/usr/lib/win32-loader/* binary
|
|
||||||
mv binary/win32-loader.exe binary/setup.exe
|
mv binary/win32-loader.exe binary/setup.exe
|
||||||
|
|
||||||
if [ "${LH_DEBIAN_INSTALLER}" != "disabled" ]
|
if [ "${LH_DEBIAN_INSTALLER}" != "disabled" ]
|
||||||
|
|
Loading…
Reference in New Issue