mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
remove shopts
This commit is contained in:
parent
725cee988c
commit
f583ecb5b5
2 changed files with 1 additions and 2 deletions
|
@ -5,7 +5,6 @@
|
|||
# optimized for size and speed
|
||||
# by Tobias Powalowski <tpowa@archlinux.org>
|
||||
|
||||
shopt -s extglob
|
||||
. /usr/lib/archboot/common.sh
|
||||
. /usr/lib/archboot/cpio/cpio.sh
|
||||
if [[ -z "${1}" ]]; then
|
||||
|
|
|
@ -212,7 +212,7 @@ _install_mods() {
|
|||
depmod -b "${_ROOTFS}" "${_KERNELVERSION}"
|
||||
# remove all non-binary module.* files (except devname for on-demand module loading
|
||||
# and builtin.modinfo for checking on builtin modules)
|
||||
rm "${_ROOTFS}${_MODULE_DIR}"/modules.!(*.bin|*.modinfo|devname|softdep)
|
||||
rm "${_ROOTFS}${_MODULE_DIR}"/modules.{alias,builtin,dep,order,symbols}
|
||||
}
|
||||
|
||||
_install_libs() {
|
||||
|
|
Loading…
Reference in a new issue