From 5624401de57bb94fe09e1499501e89a8d4710ce2 Mon Sep 17 00:00:00 2001 From: eshanized Date: Tue, 31 Dec 2024 04:50:50 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20docs:=20add=20more=20detailed=20?= =?UTF-8?q?post=20installation=20instruction?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../snigdhaos-backgrounds.install | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/snigdhaos-backgrounds/snigdhaos-backgrounds.install b/snigdhaos-backgrounds/snigdhaos-backgrounds.install index f362d6db..1a4c474e 100644 --- a/snigdhaos-backgrounds/snigdhaos-backgrounds.install +++ b/snigdhaos-backgrounds/snigdhaos-backgrounds.install @@ -1,7 +1,22 @@ post_install() { echo -e "\n** The files have been installed in /usr/share/backgrounds **\n" + echo -e "\n** Please make sure to set your desktop environment to use these backgrounds. **\n" + + # Check if the directory exists and list its contents + if [[ -d "/usr/share/backgrounds" ]]; then + echo -e "\nInstalled backgrounds:\n" + ls -1 /usr/share/backgrounds + else + echo -e "\n[WARNING] The directory /usr/share/backgrounds does not exist. Please check your installation.\n" + fi + + # Provide guidance for users of specific desktop environments + echo -e "\n** For GNOME users: Go to Settings -> Background and select from the installed options. **\n" + echo -e "** For KDE users: Right-click on the desktop -> Configure Desktop and Wallpaper -> Browse for backgrounds. **\n" } post_upgrade() { + echo -e "\n** Upgrading Snigdha OS Backgrounds **\n" post_install -} \ No newline at end of file + echo -e "\n** Upgrade complete. Your backgrounds are up-to-date. **\n" +}