Fix a bug of 1.2

This commit is contained in:
Samson-W 2021-07-04 03:31:46 +08:00
parent 23e2fd0e4f
commit 7419bdc333
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ apply_debian () {
for CONFFILE in $(grep -i "${OPTION}" /etc/apt/ -Ir | grep -v "^#" | awk -F: '{print $1}')
do
backup_file ${CONFFILE}
sed -i "s/^${OPTION}/#&/" ${CONFFILE}
sed -i "s/${OPTION}.*true.*/${OPTION} \"false\";/g" ${CONFFILE}
done
fi
}