Skip to content
This repository was archived by the owner on Apr 16, 2023. It is now read-only.

Commit 1440597

Browse files
committed
Adding support for Zebra Sources
1 parent c432e24 commit 1440597

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

restore_cydia.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
clear
55
VER="1.0~6"
6-
echo "sourceutility restore_cydia v $VER"
6+
echo "sourceutility restore_cydia v$VER"
77

88
DIRECTORY=`dirname $0`
99

restore_zebra.sh

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/bin/sh
2+
3+
clear
4+
VER="1.0"
5+
echo "sourceutility restore_zebra v$VER"
6+
7+
DIRECTORY=`dirname $0`
8+
ZEBRADIR="/private/var/mobile/Documents/xyz.willy.Zebra"
9+
ZEBRABACKUPDIR="./zebra"
10+
11+
killall Zebra
12+
13+
cd $DIRECTORY
14+
15+
echo "Restoring Zebra backup..."
16+
if [ ! -d $ZEBRADIR ]; then
17+
mkdir $ZEBRADIR
18+
fi
19+
cp -afv "$ZEBRABACKUPDIR/." $ZEBRADIR
20+
echo "Finished restoring Zebra sources!"
21+
exit 0;

0 commit comments

Comments
 (0)