Restructure code

This commit is contained in:
Xavier Petit 2020-05-11 21:32:45 +02:00 committed by xpetit
parent 691ea32b39
commit d29e917d94
5 changed files with 8 additions and 8 deletions

View File

@ -41,7 +41,7 @@ Run a terminal and type these commands :
```shell
unset HISTFILE
sudo apt-get -y install git
sudo apt -y install git
git clone https://github.com/01-edu/public.git
public/scripts/setup.sh
```

View File

@ -11,11 +11,11 @@ check() {
echo " $@"
}
check go '(see : https://golang.org/dl & https://golang.org/doc/install)'
check gofmt '(see : https://golang.org/dl & https://golang.org/doc/install)'
check goimports '(run : go get golang.org/x/tools/cmd/goimports)'
check git '(see : https://git-scm.com/downloads)'
check jq '(see : https://stedolan.github.io/jq/download)'
check go '(see : https://golang.org/dl & https://golang.org/doc/install)'
check gofmt '(see : https://golang.org/dl & https://golang.org/doc/install)'
check goimports '(run : go get golang.org/x/tools/cmd/goimports)'
check git '(see : https://git-scm.com/downloads)'
check jq '(see : https://stedolan.github.io/jq/download)'
check sed
check tar
check find

View File

@ -2,7 +2,7 @@
d-i anna/choose_modules string network-console
d-i preseed/early_command string anna-install network-console
d-i network-console/authorized_keys_url string https://raw.githubusercontent.com/xpetit/.ssh/master/id_ed25519.pub
d-i network-console/authorized_keys_url string https://github.com/xpetit.keys
d-i network-console/password-disabled boolean true
d-i debian-installer/locale string en_US

View File

@ -11,7 +11,7 @@ repo_dir=$(git rev-parse --show-toplevel)
gsettings set org.gnome.desktop.session idle-delay 0
gsettings set org.gnome.desktop.screensaver lock-enabled false
sudo -E ./configure_ubuntu.sh
sudo -E ./configure.sh
cat dconfig.txt | dconf load /
rm -rf "$repo_dir"
reboot