Merge remote-tracking branch 'allan/working'
This commit is contained in:
commit
dfaeb6bb2c
4 changed files with 17 additions and 9 deletions
|
@ -47,7 +47,7 @@ edit = sed \
|
||||||
-e 's|@SIZECMD[@]|$(SIZECMD)|g' \
|
-e 's|@SIZECMD[@]|$(SIZECMD)|g' \
|
||||||
-e 's|@SEDINPLACE[@]|$(SEDINPLACE)|g' \
|
-e 's|@SEDINPLACE[@]|$(SEDINPLACE)|g' \
|
||||||
-e 's|@DUPATH[@]|$(DUPATH)|g' \
|
-e 's|@DUPATH[@]|$(DUPATH)|g' \
|
||||||
-e 's|@configure_input[@]|Generated from $@.in; do not edit by hand.|g'
|
-e 's|@configure_input[@]|Generated from $@.sh.in; do not edit by hand.|g'
|
||||||
|
|
||||||
## All the scripts depend on Makefile so that they are rebuilt when the
|
## All the scripts depend on Makefile so that they are rebuilt when the
|
||||||
## prefix etc. changes. Use chmod -w to prevent people from editing the
|
## prefix etc. changes. Use chmod -w to prevent people from editing the
|
||||||
|
|
|
@ -328,3 +328,5 @@ case "${command}" in
|
||||||
error "$(gettext "Unknown command:") $command"
|
error "$(gettext "Unknown command:") $command"
|
||||||
usage; exit 1 ;;
|
usage; exit 1 ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
# vim: set ts=2 sw=2 noet:
|
||||||
|
|
|
@ -163,3 +163,5 @@ if ! type xdelta3 &>/dev/null; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
create_xdelta "$1" "$2"
|
create_xdelta "$1" "$2"
|
||||||
|
|
||||||
|
# vim: set ts=2 sw=2 noet:
|
||||||
|
|
|
@ -256,8 +256,12 @@ void cb_trans_conv(pmtransconv_t event, void *data1, void *data2,
|
||||||
{
|
{
|
||||||
switch(event) {
|
switch(event) {
|
||||||
case PM_TRANS_CONV_INSTALL_IGNOREPKG:
|
case PM_TRANS_CONV_INSTALL_IGNOREPKG:
|
||||||
|
if(!config->op_s_downloadonly) {
|
||||||
*response = yesno(_(":: %s is in IgnorePkg/IgnoreGroup. Install anyway?"),
|
*response = yesno(_(":: %s is in IgnorePkg/IgnoreGroup. Install anyway?"),
|
||||||
alpm_pkg_get_name(data1));
|
alpm_pkg_get_name(data1));
|
||||||
|
} else {
|
||||||
|
*response = 1;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case PM_TRANS_CONV_REPLACE_PKG:
|
case PM_TRANS_CONV_REPLACE_PKG:
|
||||||
*response = yesno(_(":: Replace %s with %s/%s?"),
|
*response = yesno(_(":: Replace %s with %s/%s?"),
|
||||||
|
|
Loading…
Add table
Reference in a new issue