Skip to content

Commit 5becbba

Browse files
committed
add
. Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
1 parent 3f46108 commit 5becbba

File tree

5 files changed

+12
-4
lines changed

5 files changed

+12
-4
lines changed

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,6 @@
3737
[submodule "internet/spoofpoint"]
3838
path = internet/spoofpoint
3939
url = https://github.com/grahamhelton/spoofpoint.git
40+
[submodule "file/adb-sync"]
41+
path = file/adb-sync
42+
url = https://github.com/google/adb-sync.git

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#// //
1010
#// Script, 2021 //
1111
#// Created: 17, June, 2021 //
12-
#// Modified: 29, July, 2021 //
12+
#// Modified: 31, August, 2021 //
1313
#// file: - //
1414
#// - //
1515
#// Source: https://github.com/metal3d/bashsimplecurses //
@@ -20,7 +20,7 @@
2020
#//////////////////////////////////////////////////////////////
2121
PROJECT_NAME := scripts
2222
SHELL := bash
23-
VERSION := 1.3.9
23+
VERSION := 1.3.10
2424
RM := rm
2525

2626
all: install

file/adb-sync

Submodule adb-sync added at fb7c549

install.sh

+5-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ echo "create symlink..."
5656
find /usr/bin/ben_script -type f \( -name "*.sh" -o -name "*.py" \) ! -path "*./git/*" \
5757
! -path "*/install.sh" ! -path "*/uninstall.sh" ! -path "*/Bash-Snippet/*" \
5858
! -path "*/git-scripts/*" ! -path "*/git-extras/*" ! -path "*/git-extra-commands/*" \
59-
! -path "*/cryptr/*" ! -path "*/bash-scripts/*" ! -path "*/fff/*" \
59+
! -path "*/cryptr/*" ! -path "*/bash-scripts/*" ! -path "*/fff/*" ! -path "*/adb-sync/*" \
6060
! -path "*/shell-scripts/*" -print0 | xargs -0 -P"$(nproc)" -I{} sudo ln -s "{}" /usr/bin || true
6161
echo "create symlink done"
6262
echo "Install ben's scripts done"
@@ -109,6 +109,10 @@ find /usr/bin/ben_script/bash-scripts -type f -name "*.sh" \
109109
! -path "*./git/*" -print0 | xargs -P"$(nproc)" -0 -I{} sudo ln -s "{}" /usr/bin || true
110110
echo "Install bash-scripts done"
111111

112+
echo "Install adb-sync.."
113+
ln -s /usr/bin/ben_script/file/adb-sync /usr/bin/adb-sync
114+
echo "Install adb-sync done"
115+
112116
echo "Remove *.sh ..."
113117
# Move it by remove file extension (if does not exit)
114118
find /usr/bin -lname '/usr/bin/ben_script/*.sh' | while read -r NAME ; do sudo mv -nv "${NAME}" "${NAME%.sh}" || echo "Fail: ${NAME}" ; done

uninstall.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ cd /usr/bin/ben_script/fff || { echo "Failure"; exit 1; }
6767
sudo make uninstall
6868
echo "Removing fff done"
6969

70-
echo "Removing ben's scripts, git-scripts, git-extra-commands, cryptr, bash-scripts, shell-scripts, docker-scripts, gpg-encrypt, spoofpoint..."
70+
echo "Removing ben's scripts, git-scripts, git-extra-commands, cryptr, bash-scripts, shell-scripts, docker-scripts, gpg-encrypt, spoofpoint, adb-sync..."
7171
echo "Remove symlink..."
7272
sudo find /usr/bin -lname '/usr/bin/ben_script/*' -delete
7373
echo "Remove symlink done"

0 commit comments

Comments
 (0)