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:
Samson.W 2021-07-04 04:32:54 +08:00 committed by GitHub
commit ffc3809e47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 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
}

View File

@ -6,6 +6,7 @@
#
# 1.3 Enable verify the signature of local packages (Scored)
# Dependance pkg: debsig-verify
# Author : Samson wen, Samson <sccxboy@gmail.com>
#