whitespaces normalization #72
|
@ -807,8 +807,7 @@ if [ -e /etc/debian_version ]; then
|
||||||
# Do it only if thereis blkid binary
|
# Do it only if thereis blkid binary
|
||||||
if [ -x "$(which blkid)" ]; then
|
if [ -x "$(which blkid)" ]; then
|
||||||
tmpFile=$(mktemp -p /tmp)
|
tmpFile=$(mktemp -p /tmp)
|
||||||
parts=$(blkid | grep -ve raid_member -e EFI_SYSPART \
|
parts=$(blkid | grep -ve raid_member -e EFI_SYSPART | grep -Eo ' LABEL=".*"' | cut -d'"' -f2)
|
||||||
| grep -Eo ' LABEL=".*"' | cut -d'"' -f2)
|
|
||||||
for part in $parts; do
|
for part in $parts; do
|
||||||
echo "$part" >> "$tmpFile"
|
echo "$part" >> "$tmpFile"
|
||||||
done
|
done
|
||||||
|
@ -867,8 +866,7 @@ if [ -e /etc/debian_version ]; then
|
||||||
if is_debianversion jessie || is_debianversion stretch; then
|
if is_debianversion jessie || is_debianversion stretch; then
|
||||||
if [ -f /etc/apache2/apache2.conf ]; then
|
if [ -f /etc/apache2/apache2.conf ]; then
|
||||||
test -d /etc/apache2/conf.d/ && failed "IS_APACHE_CONFENABLED"
|
test -d /etc/apache2/conf.d/ && failed "IS_APACHE_CONFENABLED"
|
||||||
grep -q 'Include conf.d' /etc/apache2/apache2.conf && \
|
grep -q 'Include conf.d' /etc/apache2/apache2.conf && failed "IS_APACHE_CONFENABLED"
|
||||||
failed "IS_APACHE_CONFENABLED"
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue