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]]
|
[[package]]
|
||||||
name = "pika-kernel-manager"
|
name = "pika-kernel-manager"
|
||||||
version = "0.1.5"
|
version = "0.1.6"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"async-channel",
|
"async-channel",
|
||||||
"duct",
|
"duct",
|
||||||
|
@ -1,11 +1,18 @@
|
|||||||
#! /bin/bash
|
#! /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
|
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 ' '
|
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" ]]
|
elif [[ "$1" == "pkgname" ]]
|
||||||
then
|
then
|
||||||
apt list 2>&1 | cut -f1 -d'/' | grep -v dbg | grep -E "linux-image-.*-pikaos" | cut -f3- -d"-" | tr -d ' '
|
|
||||||
else
|
|
||||||
apt show kernel-pika 2>&1 | grep Depends: | tr "," "\n" | cut -f2 -d":" | grep linux-image | tr -d ' '
|
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
|
* Translation Update
|
||||||
|
|
||||||
|
@ -225,7 +225,7 @@ fn add_package_rows(
|
|||||||
let kernel_main_package_clone0 = kernel_main_package.clone();
|
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")
|
let command_get_kernel_pika = Command::new("/usr/lib/pika/kernel-manager/scripts/get_kernel_pika.sh")
|
||||||
.arg("pkgname")
|
.arg("current_pkgname")
|
||||||
.output()
|
.output()
|
||||||
.unwrap();
|
.unwrap();
|
||||||
let kernel_pika_pkg = String::from_utf8(command_get_kernel_pika.stdout).unwrap();
|
let kernel_pika_pkg = String::from_utf8(command_get_kernel_pika.stdout).unwrap();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user