condition were inverted in configure_drm()
This commit is contained in:
parent
8fc0f8cbd4
commit
18a3347225
1 changed files with 5 additions and 5 deletions
10
install.sh
10
install.sh
|
@ -83,17 +83,17 @@ create_fusioninv_conf () {
|
|||
}
|
||||
|
||||
configure_drm(){
|
||||
if grep -o drm "$INITRAMFS_CONF_FILE"
|
||||
if grep -q drm "$INITRAMFS_CONF_FILE"
|
||||
then
|
||||
cat "drm" >> "$INITRAMFS_CONF_FILE"
|
||||
else
|
||||
message "DRM already done " "warn"
|
||||
else
|
||||
cat "drm" >> "$INITRAMFS_CONF_FILE"
|
||||
fi
|
||||
if grep -q "$1" "$INITRAMFS_CONF_FILE"
|
||||
then
|
||||
cat "$1 modeset=1" >> "$INITRAMFS_CONF_FILE"
|
||||
else
|
||||
message "$1 already done " "warn"
|
||||
else
|
||||
cat "$1 modeset=1" >> "$INITRAMFS_CONF_FILE"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue