s/Remove_package/Remove_packages/
it removes one or more, so should be plural for clarity Gbp-Dch: Short
This commit is contained in:
parent
919a464b64
commit
18eefdd6f3
|
@ -63,7 +63,7 @@ Install_packages ()
|
|||
unset _LB_PACKAGES # Can clear this now
|
||||
}
|
||||
|
||||
Remove_package ()
|
||||
Remove_packages ()
|
||||
{
|
||||
if [ "${LB_BUILD_WITH_CHROOT}" != "true" ]; then
|
||||
return
|
||||
|
@ -102,7 +102,7 @@ Remove_package ()
|
|||
Cleanup_temp_packages ()
|
||||
{
|
||||
if [ -e "$(Installed_tmp_packages_file)" ]; then
|
||||
Remove_package
|
||||
Remove_packages
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
|
@ -273,7 +273,7 @@ case "${LB_BUILD_WITH_CHROOT}" in
|
|||
Save_package_cache binary
|
||||
|
||||
# Removing depends
|
||||
Remove_package
|
||||
Remove_packages
|
||||
;;
|
||||
|
||||
false)
|
||||
|
|
|
@ -229,7 +229,7 @@ sed -i -e 's|\ $||g' binary/boot/grub/menu.lst
|
|||
Save_package_cache binary
|
||||
|
||||
# Removing depends
|
||||
Remove_package
|
||||
Remove_packages
|
||||
|
||||
# Creating stage file
|
||||
Create_stagefile
|
||||
|
|
|
@ -114,7 +114,7 @@ fi
|
|||
Save_package_cache binary
|
||||
|
||||
# Removing depends
|
||||
Remove_package
|
||||
Remove_packages
|
||||
|
||||
# Creating stage file
|
||||
Create_stagefile
|
||||
|
|
|
@ -341,7 +341,7 @@ mv chroot/binary.img ${LB_IMAGE_NAME}-${LB_ARCHITECTURE}.img
|
|||
Save_package_cache binary
|
||||
|
||||
# Removing depends
|
||||
Remove_package
|
||||
Remove_packages
|
||||
|
||||
# Creating stage file
|
||||
Create_stagefile
|
||||
|
|
|
@ -199,7 +199,7 @@ esac
|
|||
Save_package_cache binary
|
||||
|
||||
# Removing depends
|
||||
Remove_package
|
||||
Remove_packages
|
||||
|
||||
# Creating stage file
|
||||
Create_stagefile
|
||||
|
|
|
@ -67,7 +67,7 @@ case "${LB_ARCHITECTURE}" in
|
|||
Save_package_cache binary
|
||||
|
||||
# Removing depends
|
||||
Remove_package
|
||||
Remove_packages
|
||||
|
||||
mkdir -p binary/install
|
||||
|
||||
|
|
|
@ -101,7 +101,7 @@ esac
|
|||
Save_package_cache binary
|
||||
|
||||
# Removing depends
|
||||
Remove_package
|
||||
Remove_packages
|
||||
|
||||
if [ "${GRUB}" ]
|
||||
then
|
||||
|
|
|
@ -159,7 +159,7 @@ then
|
|||
rm -rf chroot/binary.deb
|
||||
|
||||
# Removing depends
|
||||
Remove_package
|
||||
Remove_packages
|
||||
|
||||
# Saving cache
|
||||
Save_package_cache chroot
|
||||
|
|
|
@ -147,7 +147,7 @@ case "${LB_CHROOT_FILESYSTEM}" in
|
|||
rm -rf chroot/chroot
|
||||
|
||||
# Removing depends
|
||||
Remove_package
|
||||
Remove_packages
|
||||
fi
|
||||
;;
|
||||
|
||||
|
@ -213,7 +213,7 @@ case "${LB_CHROOT_FILESYSTEM}" in
|
|||
rm -rf chroot/chroot
|
||||
|
||||
# Removing depends
|
||||
Remove_package
|
||||
Remove_packages
|
||||
fi
|
||||
;;
|
||||
|
||||
|
@ -326,7 +326,7 @@ case "${LB_CHROOT_FILESYSTEM}" in
|
|||
rm -rf chroot/chroot
|
||||
|
||||
# Removing depends
|
||||
Remove_package
|
||||
Remove_packages
|
||||
fi
|
||||
;;
|
||||
|
||||
|
|
|
@ -326,7 +326,7 @@ case "${LB_BUILD_WITH_CHROOT}" in
|
|||
Save_package_cache binary
|
||||
|
||||
# Removing depends
|
||||
Remove_package
|
||||
Remove_packages
|
||||
;;
|
||||
esac
|
||||
|
||||
|
|
|
@ -109,7 +109,7 @@ EOF
|
|||
Save_package_cache binary
|
||||
|
||||
# Removing depends
|
||||
Remove_package
|
||||
Remove_packages
|
||||
;;
|
||||
|
||||
*)
|
||||
|
|
|
@ -118,7 +118,7 @@ done
|
|||
Save_package_cache binary
|
||||
|
||||
# Removing depends
|
||||
Remove_package
|
||||
Remove_packages
|
||||
|
||||
# Creating stage file
|
||||
Create_stagefile
|
||||
|
|
|
@ -187,7 +187,7 @@ case "${_ACTION}" in
|
|||
fi
|
||||
|
||||
# Removing depends
|
||||
Remove_package
|
||||
Remove_packages
|
||||
else
|
||||
Echo_warning "Local packages must be named with suffix '_all.deb' or '_\$architecture.deb'."
|
||||
fi
|
||||
|
|
|
@ -88,7 +88,7 @@ done
|
|||
|
||||
rm -f chroot/bin/Packages
|
||||
|
||||
Remove_package
|
||||
Remove_packages
|
||||
|
||||
# Saving cache
|
||||
Save_package_cache chroot
|
||||
|
|
|
@ -74,7 +74,7 @@ then
|
|||
rm -f chroot/root/packages.chroot.cfg
|
||||
|
||||
# Remove dependency
|
||||
Remove_package
|
||||
Remove_packages
|
||||
fi
|
||||
|
||||
# Creating stage file
|
||||
|
|
|
@ -829,7 +829,7 @@ fi
|
|||
Save_package_cache binary
|
||||
|
||||
# Removing depends
|
||||
Remove_package
|
||||
Remove_packages
|
||||
|
||||
# Creating stage file
|
||||
Create_stagefile
|
||||
|
|
|
@ -144,7 +144,7 @@ if $MAKEDEV; then
|
|||
fi
|
||||
|
||||
# Removing depends
|
||||
Remove_package
|
||||
Remove_packages
|
||||
|
||||
# Creating stage file
|
||||
Create_stagefile
|
||||
|
|
|
@ -112,7 +112,7 @@ mv chroot/source.iso ${LB_IMAGE_NAME}-source.iso
|
|||
rm -f chroot/source.sh
|
||||
|
||||
# Removing depends
|
||||
Remove_package
|
||||
Remove_packages
|
||||
|
||||
# Creating stage file
|
||||
Create_stagefile
|
||||
|
|
Loading…
Reference in New Issue