♻️ refactor
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
JMARyA 2025-04-16 09:55:20 +02:00
parent 2ed0bbb1a6
commit a3d4e1cee6
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
2 changed files with 2 additions and 4 deletions

View file

@ -303,10 +303,10 @@ async fn main() {
}
}
cli::PaccoCLICommands::Package(package_command) => match package_command.cmd {
cli::PackageCommands::Init(package_init_command) => {
cli::PackageCommands::Init(_) => {
std::fs::copy("/usr/share/pacman/PKGBUILD.proto", "PKGBUILD").unwrap();
}
cli::PackageCommands::Info(package_info_command) => {
cli::PackageCommands::Info(_) => {
run_cmd!(makepkg - -printsrcinfo - -sync).unwrap();
}
cli::PackageCommands::Push(package_push_command) => {

View file

@ -7,8 +7,6 @@ use std::{
use based::get_pg;
use sqlx::FromRow;
use tar::Archive;
use zstd::Decoder;
use super::{Repository, arch::Architecture};