From 874a2db88b0527da507ebe1d6562f212d6ea7fda Mon Sep 17 00:00:00 2001 From: Ward Nakchbandi Date: Sat, 25 Feb 2023 15:52:01 +0300 Subject: [PATCH] fix rocm script --- pika-meta/debian/changelog | 6 ++++++ pika-meta/debian/pika-rocm-meta.postinst | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/pika-meta/debian/changelog b/pika-meta/debian/changelog index 58708cb..3189d58 100644 --- a/pika-meta/debian/changelog +++ b/pika-meta/debian/changelog @@ -1,3 +1,9 @@ +pika-meta (10:3.0-99pika5) kinetic; urgency=medium + + * Fix rocm post script + + -- Ward Nakchbandi Thu, 12 Jan 2023 16:48:00 +0300 + pika-meta (10:3.0-99pika4) kinetic; urgency=medium * Add rocm post script diff --git a/pika-meta/debian/pika-rocm-meta.postinst b/pika-meta/debian/pika-rocm-meta.postinst index c8c7586..0aafda8 100644 --- a/pika-meta/debian/pika-rocm-meta.postinst +++ b/pika-meta/debian/pika-rocm-meta.postinst @@ -1,7 +1,7 @@ #!/bin/bash set -e -if [[ ! -z $LOGNAME ] +if [[ ! -z $LOGNAME ]] then usermod -a -G video,render $LOGNAME || echo "no logname" fi