xbps-checkvers: use xbps_repo_store
This commit is contained in:
parent
260d21877f
commit
abdd1047eb
@ -738,10 +738,7 @@ main(int argc, char **argv)
|
||||
rcv.manual = true;
|
||||
break;
|
||||
case 'R':
|
||||
if (rcv.xhp.repositories == NULL)
|
||||
rcv.xhp.repositories = xbps_array_create();
|
||||
|
||||
xbps_array_add_cstring_nocopy(rcv.xhp.repositories, optarg);
|
||||
xbps_repo_store(&rcv.xhp, optarg);
|
||||
break;
|
||||
case 'r':
|
||||
rcv.rootdir = strdup(optarg);
|
||||
|
Loading…
Reference in New Issue
Block a user