From b607bafe8f73a3ebacf85ec1249777092d8901f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Wo=C5=BAniak?= Date: Sun, 8 Aug 2021 17:43:27 +0200 Subject: [PATCH] Added more permission copy and sleep in the Update-kernel --- .local/bin/Update-kernel | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.local/bin/Update-kernel b/.local/bin/Update-kernel index af7aeb8..579393c 100755 --- a/.local/bin/Update-kernel +++ b/.local/bin/Update-kernel @@ -9,7 +9,7 @@ function starting() { echo -e "\e[93m----------------------COMPILING------------------------------\e[0m" sudo cp -rv "$DEFAULT_KERNEL" "$TMP_KERNEL" cp -r "$TMP_KERNEL" "$BACKUP/kernel-config" -cp -r /etc/portage/* $BACKUP +sudo cp -r /etc/portage/* $BACKUP qlist -I | sort -u > $BACKUP/list-of-programs } @@ -96,6 +96,7 @@ fi function addgit() { cd "$BACKUP" || exit + sleep 20 git add . git commit -m "Updated: $(date)" git push