From 368d773023f2a94fadb4d05c6fd70e07162c9304 Mon Sep 17 00:00:00 2001 From: Ward Nakchbandi Date: Tue, 28 Mar 2023 17:42:02 +0300 Subject: [PATCH] update --- Makefile | 1 + debian/changelog | 2 +- gen-xml.sh | 7 +++++++ main.sh | 1 + 4 files changed, 10 insertions(+), 1 deletion(-) create mode 100755 gen-xml.sh diff --git a/Makefile b/Makefile index f6ae893..c3e450b 100644 --- a/Makefile +++ b/Makefile @@ -5,6 +5,7 @@ install: cp --no-preserve=mode,ownership -r \ wallpapers/* \ $(DESTDIR)/usr/share/backgrounds/pika/ + pika-wallpapers.xml usr/share/gnome-background-properties/ uninstall: -rm -rf $(DESTDIR)/usr/share/backgrounds/pika diff --git a/debian/changelog b/debian/changelog index 8540ab8..1e15a5c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -pika-wallpapers (1.0.0) kinetic; urgency=medium +pika-wallpapers (1.2.0) kinetic; urgency=medium * First release diff --git a/gen-xml.sh b/gen-xml.sh new file mode 100755 index 0000000..f23c95b --- /dev/null +++ b/gen-xml.sh @@ -0,0 +1,7 @@ +#! /bin/bash +echo -e "\n\n" > pika-wallpapers.xml +for i in $(ls wallpapers) +do +echo -e "\t\n\t\t$i\n\t\t/usr/share/backgrounds/pika/$i\n\t\tzoom\n\t\t#000000\n\t\t#000000\n\t\tsolid\n\t" >> pika-wallpapers.xml +done +echo -e "" >> pika-wallpapers.xml diff --git a/main.sh b/main.sh index 7e649c0..67a47d8 100755 --- a/main.sh +++ b/main.sh @@ -6,6 +6,7 @@ add-apt-repository https://ppa.pika-os.com add-apt-repository ppa:pikaos/pika add-apt-repository ppa:kubuntu-ppa/backports # Clone Upstream +gen-xml.sh mkdir -p ./pika-wallpapers cp -rvf ./* ./pika-wallpapers || echo cd ./pika-wallpapers