mirror of
https://github.com/AuxXxilium/arc-addons.git
synced 2024-11-23 21:50:52 +07:00
eudev: fix
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
97f2049e80
commit
7d043baf01
@ -83,7 +83,7 @@ elif [ "${1}" = "late" ]; then
|
||||
cat /addons/modulelist 2>/dev/null | /tmpRoot/bin/sed '/^\s*$/d' | while IFS=' ' read -r O M; do
|
||||
[ "${O:0:1}" = "#" ] && continue
|
||||
[ -z "${M}" -o -z "$(ls /usr/lib/modules/${M} 2>/dev/null)" ] && continue
|
||||
if [ "${O}" = "F" ] || [ "${O}" = "f" ]; then
|
||||
if [ "${O^^}" = "F" ]; then
|
||||
/tmpRoot/bin/cp -vrf /usr/lib/modules/${M} /tmpRoot/usr/lib/modules/
|
||||
else
|
||||
/tmpRoot/bin/cp -vrn /usr/lib/modules/${M} /tmpRoot/usr/lib/modules/
|
||||
|
Loading…
Reference in New Issue
Block a user