mirror of
https://github.com/moparisthebest/pacman
synced 2024-08-13 17:03:46 -04:00
get ride of ORE tags
This commit is contained in:
parent
22967aeba5
commit
a53bf50189
@ -259,11 +259,10 @@ int pacman_deptest(list_t *targets)
|
|||||||
return(1);
|
return(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ORE
|
/* We use a hidden facility from alpm_trans_addtarget() to add a dummy
|
||||||
* For ADD transaction, implement a hack to alpm_trans_addtarget() to add
|
* target to the transaction (see the library code for details).
|
||||||
* a dummy target based on the pattern: "__dummy__|version|dep1|dep2|..."
|
* It allows us to use alpm_trans_prepare() to check dependencies of the
|
||||||
* where "dummy" is the package name, "version" its version, and every dep?
|
* given target.
|
||||||
* the content of the "depends" field.
|
|
||||||
*/
|
*/
|
||||||
str = (char *)malloc(strlen("name=dummy|version=1.0-1")+1);
|
str = (char *)malloc(strlen("name=dummy|version=1.0-1")+1);
|
||||||
strcpy(str, "name=dummy|version=1.0-1");
|
strcpy(str, "name=dummy|version=1.0-1");
|
||||||
|
@ -446,9 +446,7 @@ int pacman_sync(list_t *targets)
|
|||||||
MSG(NL, ":: It is recommended that you allow pacman to upgrade itself\n");
|
MSG(NL, ":: It is recommended that you allow pacman to upgrade itself\n");
|
||||||
MSG(NL, ":: first, then you can re-run the operation with the newer version.\n");
|
MSG(NL, ":: first, then you can re-run the operation with the newer version.\n");
|
||||||
MSG(NL, "::\n");
|
MSG(NL, "::\n");
|
||||||
if(yesno(":: Upgrade pacman first? [Y/n] ")) {
|
if(!yesno(":: Upgrade anyway? [Y/n] ")) {
|
||||||
/* ORE
|
|
||||||
we should substitute existing targets with "pacman" */
|
|
||||||
retval = 0;
|
retval = 0;
|
||||||
alpm_trans_release();
|
alpm_trans_release();
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
|
Loading…
Reference in New Issue
Block a user