Updating win32-loader pathes for squeeze (Closes: #580952).
This commit is contained in:
parent
2bc0dad3fb
commit
a4ab9bb0e5
|
@ -44,10 +44,20 @@ Create_lockfile .lock
|
||||||
|
|
||||||
case "${LH_ARCHITECTURE}" in
|
case "${LH_ARCHITECTURE}" in
|
||||||
amd64|i386)
|
amd64|i386)
|
||||||
|
case "${LH_DISTRIBUTION}" in
|
||||||
|
lenny)
|
||||||
|
WIN32_LOADER="/usr/lib/win32-loader"
|
||||||
|
;;
|
||||||
|
|
||||||
|
*)
|
||||||
|
WIN32_LOADER="/usr/share/win32-loader"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
if [ "${LH_CHROOT_BUILD}" = "true" ]
|
if [ "${LH_CHROOT_BUILD}" = "true" ]
|
||||||
then
|
then
|
||||||
# Checking depends
|
# Checking depends
|
||||||
Check_package chroot/usr/lib/win32-loader/win32-loader.exe win32-loader
|
Check_package chroot/${WIN32_LOADER}/win32-loader.exe win32-loader
|
||||||
|
|
||||||
# Restoring cache
|
# Restoring cache
|
||||||
Restore_cache cache/packages_binary
|
Restore_cache cache/packages_binary
|
||||||
|
@ -56,13 +66,18 @@ case "${LH_ARCHITECTURE}" in
|
||||||
Install_package
|
Install_package
|
||||||
|
|
||||||
# Copying win32-loader
|
# Copying win32-loader
|
||||||
cp chroot/usr/lib/win32-loader/* binary
|
cp chroot/${WIN32_LOADER}/* binary
|
||||||
else
|
else
|
||||||
cp /usr/lib/win32-loader/* binary
|
cp ${WIN32_LOADER}/* binary
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mv binary/win32-loader.exe binary/setup.exe
|
mv binary/win32-loader.exe binary/setup.exe
|
||||||
|
|
||||||
|
if [ -e binary/win32-loader-standalone.exe ]
|
||||||
|
then
|
||||||
|
mv binary/win32-loader-standalone.exe binary/setup-standalone.exe
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "${LH_DEBIAN_INSTALLER}" != "false" ]
|
if [ "${LH_DEBIAN_INSTALLER}" != "false" ]
|
||||||
then
|
then
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue