From 49b5a3a6f3f737c9c9cea21e9b8a124464d7e6c3 Mon Sep 17 00:00:00 2001 From: desaimg1 Date: Tue, 5 Nov 2024 18:36:12 +0530 Subject: [PATCH] remove sudo --- do.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/do.py b/do.py index a732325ab..ee25e096e 100644 --- a/do.py +++ b/do.py @@ -112,9 +112,9 @@ def generate_allure_report(): run(["wget https://github.com/allure-framework/allure2/releases/tag/2.32.0/allure_2.32.0-1_all.deb"]) run(["chmod +x allure_2.32.0-1_all.deb"]) run(["sudo -s"]) - run(["sudo -S rm /var/lib/apt/lists/lock"]) - run(["sudo -S rm /var/cache/apt/archives/lock"]) - run(["sudo -S rm /var/lib/dpkg/lock"]) + run(["rm /var/lib/apt/lists/lock"]) + run(["rm /var/cache/apt/archives/lock"]) + run(["rm /var/lib/dpkg/lock"]) run(["dpkg -i allure_2.32.0-1_all.deb"])