File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22
3+ RTR=" ${PREFIX} /etc/udroid"
4+ DEFAULT_ROOT=" ${PREFIX} /usr/var/lib/udroid"
5+ DEFAULT_FS_INSTALL_DIR=" ${DEFAULT_ROOT} /installed-filesystems"
6+ DLCACHE=" ${DEFAULT_ROOT} /dlcache"
7+ RTCACHE=" ${RTR} /.cache"
8+
9+ [[ -d ${RTR} ]] && cd $RTR || exit 1
310[[ ! -f proot-utils/proot-utils.sh ]] && echo " proot-utils.sh not found" && exit 1
411[[ ! -f gum_wrapper.sh ]] && echo " gum_wrapper.sh not found" && exit 1
512
@@ -8,12 +15,6 @@ source gum_wrapper.sh
815
916export distro_data
1017
11- RTR=" ${PREFIX} /etc/udroid"
12- DEFAULT_ROOT=" ${PREFIX} /usr/var/lib/udroid"
13- DEFAULT_FS_INSTALL_DIR=" ${DEFAULT_ROOT} /installed-filesystems"
14- DLCACHE=" ${DEFAULT_ROOT} /dlcache"
15- RTCACHE=" ${RTR} /.cache"
16-
1718fetch_distro_data () {
1819 URL=" https://raw.githubusercontent.com/RandomCoderOrg/udroid-download/main/distro-data.json"
1920 _path=" ${RTCACHE} /distro-data.json.cache"
You can’t perform that action at this time.
0 commit comments