Skip to content

Commit c04e089

Browse files
committed
remove from json
1 parent dd28fdf commit c04e089

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arkr.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,8 @@ int main(int argc, char *argv[]) {
132132
throw runtime_error("Failed to run command: " + chmodcommand);
133133
}
134134
}
135+
} else if (action==2) {
136+
packlist.erase(remove(packlist.begin(), packlist.end(), argv[i]));
135137
}
136138
}
137139
if (arkrjson["packages"]==packlist){

0 commit comments

Comments
 (0)