Skip to content

Commit

Permalink
Remove others-dist submodule
Browse files Browse the repository at this point in the history
Remove others-dist submodule

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
  • Loading branch information
bensuperpc committed Jul 29, 2021
1 parent 64df282 commit bed248a
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 12 deletions.
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@
[submodule "cryptr"]
path = cryptography/cryptr
url = https://github.com/nodesocket/cryptr.git
[submodule "others-dist"]
path = others-dist
url = https://github.com/MertcanGokgoz/UsefulBashScripts.git
[submodule "git-quick-stats"]
path = git/git-quick-stats
url = https://github.com/arzzen/git-quick-stats.git
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ dist-full: clean
check:
@find . -type f \( -name "*.sh" -o -name "*.bash" \) ! -path "*./git/*" ! -path "*/install.sh" ! -path "*/uninstall.sh" \
! -path "*/Bash-Snippet/*" ! -path "*/git/git-scripts/*" ! -path "*/git/git-extras/*" \
! -path "*/git/git-extra-commands/*" ! -path "*/cryptography/cryptr/*" ! -path "*/others-dist/*" \
! -path "*/git/git-extra-commands/*" ! -path "*/cryptography/cryptr/*" \
! -path "*/bash-scripts/*" ! -path "*/fff/*" ! -path "*/shell-scripts/*" -print0 | xargs -0 -P"$(shell nproc)" -I{} $(SHELL) -n "{}"
@find . -type f \( -name "*.sh" -o -name "*.bash" \) ! -path "*./git/*" ! -path "*/install.sh" ! -path "*/uninstall.sh" \
! -path "*/Bash-Snippet/*" ! -path "*/git/git-scripts/*" ! -path "*/git/git-extras/*" \
! -path "*/git/git-extra-commands/*" ! -path "*/cryptography/cryptr/*" ! -path "*/others-dist/*" \
! -path "*/git/git-extra-commands/*" ! -path "*/cryptography/cryptr/*" \
! -path "*/bash-scripts/*" ! -path "*/fff/*" ! -path "*/shell-scripts/*" -print0 | xargs -0 -P"$(shell nproc)" -I{} \
shellcheck --check-sourced --color=auto --format=gcc --severity=warning --shell=bash --enable=all "{}"
@echo "Bash syntax check: done"
Expand Down
1 change: 1 addition & 0 deletions TODO
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ https://github.com/janosgyerik/shellscripts
https://github.com/dyne/Tomb
https://github.com/ricardobeat/git-commands
https://github.com/SixArm/gpg-encrypt.git
https://github.com/MertcanGokgoz/UsefulBashScripts


# Others
Expand Down
7 changes: 1 addition & 6 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ echo "create symlink..."
find /usr/bin/ben_script -type f \( -name "*.sh" -o -name "*.py" \) ! -path "*./git/*" \
! -path "*/install.sh" ! -path "*/uninstall.sh" ! -path "*/Bash-Snippet/*" \
! -path "*/git-scripts/*" ! -path "*/git-extras/*" ! -path "*/git-extra-commands/*" \
! -path "*/cryptr/*" ! -path "*/others-dist/*" ! -path "*/bash-scripts/*" ! -path "*/fff/*" \
! -path "*/cryptr/*" ! -path "*/bash-scripts/*" ! -path "*/fff/*" \
! -path "*/shell-scripts/*" -print0 | xargs -0 -P"$(nproc)" -I{} sudo ln -s "{}" /usr/bin || true
echo "create symlink done"
echo "Install ben's scripts done"
Expand Down Expand Up @@ -100,11 +100,6 @@ echo "Install spoofpoint..."
ln -s /usr/bin/ben_script/internet/spoofpoint/spoofpoint /usr/bin/spoofpoint
echo "Install spoofpoint done"

echo "Install others-dist..."
find /usr/bin/ben_script/others-dist/Scripts -type f -name "*.sh" \
! -path "*./git/*" -print0 | xargs -0 -P"$(nproc)" -I{} sudo ln -s "{}" /usr/bin || true
echo "Install others-dist done"

echo "Install shell-scripts..."
find /usr/bin/ben_script/shell-scripts -type f -name "*.sh" \
! -path "*./git/*" -print0 | xargs -0 -P"$(nproc)" -I{} sudo ln -s "{}" /usr/bin || true
Expand Down
1 change: 0 additions & 1 deletion others-dist
Submodule others-dist deleted from cada2f

0 comments on commit bed248a

Please sign in to comment.