From 2874252539213022b84d8d32d21c4f701aefff7a Mon Sep 17 00:00:00 2001 From: crupest Date: Wed, 1 Nov 2023 20:58:53 +0800 Subject: (docker:debian-dev) fix bugs and add cp-no-git. --- docker/debian-dev/bootstrap/bash-profile/bash-completion.bash | 0 docker/debian-dev/bootstrap/bash-profile/cp-no-git.bash | 2 ++ docker/debian-dev/bootstrap/bash-profile/dquilt.bash | 1 + docker/debian-dev/bootstrap/setup-base.bash | 3 ++- docker/debian-dev/bootstrap/setup-dev-tools.bash | 2 +- 5 files changed, 6 insertions(+), 2 deletions(-) mode change 100755 => 100644 docker/debian-dev/bootstrap/bash-profile/bash-completion.bash create mode 100644 docker/debian-dev/bootstrap/bash-profile/cp-no-git.bash mode change 100755 => 100644 docker/debian-dev/bootstrap/bash-profile/dquilt.bash (limited to 'docker/debian-dev') diff --git a/docker/debian-dev/bootstrap/bash-profile/bash-completion.bash b/docker/debian-dev/bootstrap/bash-profile/bash-completion.bash old mode 100755 new mode 100644 diff --git a/docker/debian-dev/bootstrap/bash-profile/cp-no-git.bash b/docker/debian-dev/bootstrap/bash-profile/cp-no-git.bash new file mode 100644 index 0000000..46debeb --- /dev/null +++ b/docker/debian-dev/bootstrap/bash-profile/cp-no-git.bash @@ -0,0 +1,2 @@ +alias cp-no-git="rsync --exclude='.git'" + diff --git a/docker/debian-dev/bootstrap/bash-profile/dquilt.bash b/docker/debian-dev/bootstrap/bash-profile/dquilt.bash old mode 100755 new mode 100644 index a0a469b..96a4eb2 --- a/docker/debian-dev/bootstrap/bash-profile/dquilt.bash +++ b/docker/debian-dev/bootstrap/bash-profile/dquilt.bash @@ -1,3 +1,4 @@ alias dquilt="quilt --quiltrc=${HOME}/.quiltrc-dpkg" . /usr/share/bash-completion/completions/quilt complete -F _quilt_completion $_quilt_complete_opt dquilt + diff --git a/docker/debian-dev/bootstrap/setup-base.bash b/docker/debian-dev/bootstrap/setup-base.bash index d94b92f..15328ab 100755 --- a/docker/debian-dev/bootstrap/setup-base.bash +++ b/docker/debian-dev/bootstrap/setup-base.bash @@ -2,7 +2,8 @@ set -e -apt-get install -y vim less man curl bash-completion +apt-get install -y vim less man curl bash-completion rsync cat /bootstrap/bash-profile/bash-completion.bash >> /root/.bash_profile +cat /bootstrap/bash-profile/cp-no-git.bash >> /root/.bash_profile diff --git a/docker/debian-dev/bootstrap/setup-dev-tools.bash b/docker/debian-dev/bootstrap/setup-dev-tools.bash index e66cf94..a8fa9d1 100755 --- a/docker/debian-dev/bootstrap/setup-dev-tools.bash +++ b/docker/debian-dev/bootstrap/setup-dev-tools.bash @@ -4,6 +4,6 @@ set -e apt-get install -y build-essential debhelper quilt cpio kmod git bc python bison flex rsync libelf-dev libssl-dev libncurses-dev dwarves -cp /boostrap/quiltrc-dpkg /root/.quiltrc-dpkg +cp /bootstrap/quiltrc-dpkg /root/.quiltrc-dpkg cat /bootstrap/bash-profile/dquilt.bash >> /root/.bash_profile -- cgit v1.2.3