aboutsummaryrefslogtreecommitdiff
path: root/cydia/repo
diff options
context:
space:
mode:
authorFivePixels <o5pxels@gmail.com>2019-02-11 01:11:39 -0600
committerFivePixels <o5pxels@gmail.com>2019-02-11 01:11:39 -0600
commit78f83f6f5e95bdf1742a74b24d5c3e1a56e43601 (patch)
tree438f965c55dfa9684bd4397fe89cdbe368678f5b /cydia/repo
parent2e63d6f7210ba76dc8ff446066d1e3f7665cd217 (diff)
downloadpersonal-website-78f83f6f5e95bdf1742a74b24d5c3e1a56e43601.tar.xz
personal-website-78f83f6f5e95bdf1742a74b24d5c3e1a56e43601.zip
Removed Cydia + JS
Diffstat (limited to 'cydia/repo')
-rwxr-xr-xcydia/repo53
1 files changed, 0 insertions, 53 deletions
diff --git a/cydia/repo b/cydia/repo
deleted file mode 100755
index de348ba..0000000
--- a/cydia/repo
+++ /dev/null
@@ -1,53 +0,0 @@
-#!/bin/bash
-
-script_dir=$(dirname $0)
-cur=$(pwd)
-
-cd "$script_dir"
-if [ $# -eq 0 ]; then
- echo "Usage: $0 <command>" >&2
- exit 1
-fi
-
-if [ "$1" == "add" ]; then
- if [ "$#" -ne 3 ]; then
- echo "Usage: $0 add <package> <deb file>" >&2
- exit 1
- fi
- echo "Adding new package...";
-
- cp "$3" "$script_dir/debs/$2.deb"
-
-elif [ "$1" == "update" ]; then
- echo "Updating packaging...";
-else
- echo "Usage: $0 <command>" >&2
- exit 1
-fi
-
-rm Packages.bz2
-rm Packages
-
-for deb in debs/*.deb
-do
- echo "Processing $deb...";
- dpkg-deb -f "$deb" >> Packages
- md5sum "$deb" | echo "MD5sum: $(awk '{ print $1 }')" >> Packages
- wc -c "$deb" | echo "Size: $(awk '{ print $1 }')" >> Packages
- echo "Filename: $deb" >> Packages
- dpkg-deb -f "$deb" Package | echo "Depiction: http://$(head -n 1 CNAME)/depictions/?p=$(xargs -0)" >> Packages
- echo "" >> Packages
-done
-
-echo "" >> Packages; ## Add extra new line
-
-bzip2 -9c < Packages > Packages.bz2
-gzip -9c < Packages > Packages.gz
-
-git add -A
-now=$(date +"%I:%M %m-%d-%Y")
-git commit -am "Packages Update - $now"
-git push
-
-echo "Updated Github repository with latest packages";
-cd "$cur" \ No newline at end of file