pika-kernel-manager/data/scripts/get_version.sh

3 lines
67 B
Bash
Raw Normal View History

2024-06-19 03:08:37 +02:00
#! /bin/bash
dnf info $1 | grep Version | cut -d":" -f2 | head -n1