File tree Expand file tree Collapse file tree
app/src/main/assets/home/bin Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ MPAT="${0%/*}"
44# dọn dẹp
55chmod -R 755 $MPAT /home
66
7- if [ -d " $HOME /home" ]; then
7+ if [ -d " $MPAT /home" ]; then
88 cp -rf $MPAT /home/* $HOME
99 rm -fr $MPAT /home
1010fi
Original file line number Diff line number Diff line change 1+ # Kakathic
2+ MPAT=" ${0%/* } "
3+
4+ # dọn dẹp
5+ chmod -R 755 $MPAT /home
6+
7+ if [ -d " $MPAT /home" ]; then
8+ cp -rf $MPAT /home/* $HOME
9+ rm -fr $MPAT /home
10+ fi
Original file line number Diff line number Diff line change @@ -63,10 +63,10 @@ echo 0 > "$2/$loadid/status"
6363set_permis -R " $2 /$loadid "
6464
6565if [ -f " $2 /$loadid /install.sh" ]; then
66- " $2 /$loadid /install.sh"
66+ bash " $2 /$loadid /install.sh"
6767 rm -fr " $2 /$loadid /install.sh"
6868elif [ -f " $2 /$loadid /install.bash" ]; then
69- " $2 /$loadid /install.bash"
69+ bash " $2 /$loadid /install.bash"
7070 rm -fr " $2 /$loadid /install.bash"
7171fi
7272
You can’t perform that action at this time.
0 commit comments