summaryrefslogtreecommitdiff
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/move.sh2
-rwxr-xr-xLibrary/space.sh2
-rwxr-xr-xLibrary/startup1
3 files changed, 2 insertions, 3 deletions
diff --git a/Library/move.sh b/Library/move.sh
index 3cbe799..635c153 100755
--- a/Library/move.sh
+++ b/Library/move.sh
@@ -21,7 +21,7 @@ function mv_() {
src=$1
mkdir -p /var/stash
- dst=$(mktemp -d /var/stash/$(basename "${src}").XXXXXX)
+ dst=$(mktemp -d /var/stash/"${src##*/}".XXXXXX)
if [[ -e ${src} ]]; then
chmod --reference="${src}" "${dst}"
diff --git a/Library/space.sh b/Library/space.sh
index 953ae57..3be1f0d 100755
--- a/Library/space.sh
+++ b/Library/space.sh
@@ -8,5 +8,5 @@ for dir in \
/System/Library/TextInput \
/usr/share
do
- . /usr/libexec/cydia/move.sh -v "${dir}"
+ . /usr/libexec/cydia/move.sh "$@" "${dir}"
done
diff --git a/Library/startup b/Library/startup
index 6efc471..7ee6cd3 100755
--- a/Library/startup
+++ b/Library/startup
@@ -1,7 +1,6 @@
#!/bin/bash
export PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin
/usr/libexec/cydia/firmware.sh
-/usr/libexec/cydia/space.sh
debs=/var/root/Media/Cydia/AutoInstall/*.deb
dpkg -i ${debs}
rm -f ${debs}