mirror of
https://github.com/hardenedlinux/harbian-audit.git
synced 2025-07-31 01:24:58 +02:00
Merge pull request #26 from Samson-W/master
Fix a bug of 1.2 and add depend pkg info to 1.3
This commit is contained in:
commit
ffc3809e47
@ -66,7 +66,7 @@ apply_debian () {
|
|||||||
for CONFFILE in $(grep -i "${OPTION}" /etc/apt/ -Ir | grep -v "^#" | awk -F: '{print $1}')
|
for CONFFILE in $(grep -i "${OPTION}" /etc/apt/ -Ir | grep -v "^#" | awk -F: '{print $1}')
|
||||||
do
|
do
|
||||||
backup_file ${CONFFILE}
|
backup_file ${CONFFILE}
|
||||||
sed -i "s/^${OPTION}/#&/" ${CONFFILE}
|
sed -i "s/${OPTION}.*true.*/${OPTION} \"false\";/g" ${CONFFILE}
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
|
|
||||||
#
|
#
|
||||||
# 1.3 Enable verify the signature of local packages (Scored)
|
# 1.3 Enable verify the signature of local packages (Scored)
|
||||||
|
# Dependance pkg: debsig-verify
|
||||||
# Author : Samson wen, Samson <sccxboy@gmail.com>
|
# Author : Samson wen, Samson <sccxboy@gmail.com>
|
||||||
#
|
#
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user