Fix developer profile

Initialialize a few variables to let --profile developer.prf pass.

Signed-off-by: Topi Miettinen <toiwoton@gmail.com>
This commit is contained in:
Topi Miettinen 2020-03-20 22:26:51 +02:00
parent 6356b3adb1
commit e98fcb9b73
No known key found for this signature in database
GPG Key ID: 87E1A51C590B0577
2 changed files with 3 additions and 0 deletions

View File

@ -98,6 +98,7 @@ unset LANG
DEBSUMSBINARY=""
DEVELOPER_MODE=0
DEVOPS_MODE=0
DIGBINARY=""
DISABLED_PLUGINS=""
DISCOVERED_BINARIES=""
DMIDECODEBINARY=""
@ -148,6 +149,7 @@ unset LANG
LOCATEBINARY=""
LOGFILE=""
LOGDIR=""
LOGROTATEBINARY=""
LOGTEXT=1
LSMODBINARY=""
LSOFBINARY=""

View File

@ -669,6 +669,7 @@
LogText "Result: found ${FOUND_VMLINUZ}"
fi
VERSION_ON_DISK=""
if [ -L "${FOUND_VMLINUZ}" ]; then
LogText "Result: found a symlink, retrieving destination"
FOUND_VMLINUZ=$(readlink "${FOUND_VMLINUZ}")