File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -17,11 +17,11 @@ function usage() {
17
17
echo " Usage: ${0} <exclude | unexclude>"
18
18
echo
19
19
echo " exclude | disable"
20
- echo " exclude packages via an excludes = line in ${CONF_FILE} "
20
+ echo " exclude packages via an exclude = line in ${CONF_FILE} "
21
21
echo " This disables updates for ${PACKAGE_LIST} packages"
22
22
echo
23
23
echo " unexclude | enable"
24
- echo " removes ${PACKAGE_LIST} from the excludes = line in ${CONF_FILE} "
24
+ echo " removes ${PACKAGE_LIST} from the exclude = line in ${CONF_FILE} "
25
25
echo " This re-enables updates for packages"
26
26
echo
27
27
} 1>&2
@@ -35,7 +35,7 @@ function exclude_packages() {
35
35
# Ensure there is an exclude line
36
36
if ! grep -q exclude= " ${CONF_FILE} " ; then
37
37
echo " Adding exclude= to ${CONF_FILE} "
38
- sed -i ' s|\(obsoletes =.*\)|\1\nexcludes =|' " ${CONF_FILE} "
38
+ sed -i ' s|\(installonly_limit =.*\)|\1\nexclude =|' " ${CONF_FILE} "
39
39
fi
40
40
# Add each package to the exclude line
41
41
for package in ${PACKAGE_LIST} ; do
You can’t perform that action at this time.
0 commit comments