Do not call laptop-detect, let the only user call it directly
This commit is contained in:
parent
12a633f722
commit
575efb7249
|
@ -59,13 +59,6 @@ fi
|
||||||
|
|
||||||
ARCHITECTURE="$(dpkg --print-installation-architecture)"
|
ARCHITECTURE="$(dpkg --print-installation-architecture)"
|
||||||
|
|
||||||
LAPTOP=""
|
|
||||||
if [ -n "$(which laptop-detect)" ]; then
|
|
||||||
if laptop-detect >/dev/null; then
|
|
||||||
LAPTOP=true
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$1" = "reconfigure" ] || [ -n "$DEBCONF_RECONFIGURE" ]; then
|
if [ "$1" = "reconfigure" ] || [ -n "$DEBCONF_RECONFIGURE" ]; then
|
||||||
RECONFIGURE="true"
|
RECONFIGURE="true"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue