diff --git a/gen-xml.sh b/gen-xml.sh deleted file mode 100755 index f23c95b..0000000 --- a/gen-xml.sh +++ /dev/null @@ -1,7 +0,0 @@ -#! /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 6e4e5aa..f781d7a 100755 --- a/main.sh +++ b/main.sh @@ -1,3 +1,5 @@ +#! /bin/bash + DEBIAN_FRONTEND=noninteractive # Add dependent repositories @@ -6,7 +8,12 @@ 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 +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 mkdir -p ./pika-wallpapers cp -rvf ./* ./pika-wallpapers || echo cd ./pika-wallpapers @@ -17,7 +24,7 @@ DEBIAN_FRONTEND=noninteractive apt-get install -y tzdata apt-get build-dep ./ -y # Build package -dpkg-buildpackage +dpkg-buildpackage --no-sign # Move the debs to output cd ../