-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
·29 lines (26 loc) · 1.05 KB
/
install.sh
File metadata and controls
executable file
·29 lines (26 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/usr/bin/env bash
# Installer for all linux-utils scripts.
bin_path=/usr/local/bin
install_path=$bin_path/linux-utils
mkdir $install_path
cp archive $install_path/
cp tarit $install_path/
cp dearchive $install_path/
cp acquire $install_path/
cp markdown_commits $install_path/
cp newproject $install_path/
# Docker Cleaners!
cp docker-clean* $install_path/
cp *.py $install_path/
cp *.sh $install_path/
ln -s $install_path/archive $bin_path/archive
ln -s $install_path/tarit $bin_path/tarit
ln -s $install_path/dearchive $bin_path/dearchive
ln -s $install_path/acquire $bin_path/acquire
ln -s $install_path/markdown_commits $bin_path/markdown_commits
ln -s $install_path/newproject $bin_path/newproject
ln -s $install_path/docker-clean-containers $bin_path/docker-clean-containers
ln -s $install_path/docker-clean-volumes $bin_path/docker-clean-volumes
ln -s $install_path/docker-clean-images $bin_path/docker-clean-images
ln -s $install_path/create_dirs_based_on_template.py $bin_path/create_template_dirs
ln -s $install_path/refactor_text.sh $bin_path/refactor_text