minor fix up
All checks were successful
PikaOS Package Build & Release (amd64-v3) / build (push) Successful in 1m55s
All checks were successful
PikaOS Package Build & Release (amd64-v3) / build (push) Successful in 1m55s
This commit is contained in:
parent
182bd66f91
commit
4f757eef46
2
.github/release-nest-v3
vendored
2
.github/release-nest-v3
vendored
@ -1 +1 @@
|
||||
3
|
||||
4
|
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -1428,7 +1428,7 @@ checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e"
|
||||
|
||||
[[package]]
|
||||
name = "pika-kernel-manager"
|
||||
version = "0.1.5"
|
||||
version = "0.1.6"
|
||||
dependencies = [
|
||||
"async-channel",
|
||||
"duct",
|
||||
|
@ -1,11 +1,18 @@
|
||||
#! /bin/bash
|
||||
|
||||
if [[ "$1" == "version" ]]
|
||||
if [[ "$1" == "list" ]]
|
||||
then
|
||||
apt list 2>&1 | cut -f1 -d'/' | grep -v dbg | grep -E "linux-image-.*-pikaos" | cut -f3- -d"-" | tr -d ' '
|
||||
elif [[ "$1" == "current_version" ]]
|
||||
then
|
||||
dpkg -s kernel-pika 2>&1 | grep -v "does not have a stable" | grep Depends: | head -n1 | cut -f2 -d":" | cut -f1 -d"," | cut -f3 -d"-" | tr -d ' '
|
||||
elif [[ "$1" == "current_pkgname" ]]
|
||||
then
|
||||
dpkg -s kernel-pika 2>&1 | grep Depends: | tr "," "\n" | cut -f2 -d":" | grep linux-image | tr -d ' '
|
||||
elif [[ "$1" == "version" ]]
|
||||
then
|
||||
apt show kernel-pika 2>&1 | grep -v "does not have a stable" | grep Depends: | head -n1 | cut -f2 -d":" | cut -f1 -d"," | cut -f3 -d"-" | tr -d ' '
|
||||
elif [[ "$1" == "list" ]]
|
||||
then
|
||||
apt list 2>&1 | cut -f1 -d'/' | grep -v dbg | grep -E "linux-image-.*-pikaos" | cut -f3- -d"-" | tr -d ' '
|
||||
else
|
||||
elif [[ "$1" == "pkgname" ]]
|
||||
then
|
||||
apt show kernel-pika 2>&1 | grep Depends: | tr "," "\n" | cut -f2 -d":" | grep linux-image | tr -d ' '
|
||||
fi
|
||||
fi
|
||||
|
2
debian/changelog
vendored
2
debian/changelog
vendored
@ -1,4 +1,4 @@
|
||||
pika-kernel-manager (0.1.6-101pika1) pika; urgency=low
|
||||
pika-kernel-manager (0.1.6-101pika2) pika; urgency=low
|
||||
|
||||
* Translation Update
|
||||
|
||||
|
@ -225,7 +225,7 @@ fn add_package_rows(
|
||||
let kernel_main_package_clone0 = kernel_main_package.clone();
|
||||
|
||||
let command_get_kernel_pika = Command::new("/usr/lib/pika/kernel-manager/scripts/get_kernel_pika.sh")
|
||||
.arg("pkgname")
|
||||
.arg("current_pkgname")
|
||||
.output()
|
||||
.unwrap();
|
||||
let kernel_pika_pkg = String::from_utf8(command_get_kernel_pika.stdout).unwrap();
|
||||
|
Loading…
x
Reference in New Issue
Block a user