Browse Source

Restructure code

pull/533/head
Xavier Petit 4 years ago committed by xpetit
parent
commit
d29e917d94
  1. 2
      docs/ubuntu-installation.md
  2. 0
      go/tests/benchmark.sh
  3. 10
      sh/debian/check.sh
  4. 2
      sh/debian/preseed.cfg
  5. 2
      sh/debian/ubuntu/setup.sh

2
docs/ubuntu-installation.md

@ -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
```

0
go/tests/benchmark_tests.sh → go/tests/benchmark.sh

10
sh/check_installation.sh → sh/debian/check.sh diff.vendored

@ -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

2
sh/debian/preseed.cfg diff.vendored

@ -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

2
sh/debian/ubuntu/setup.sh diff.vendored

@ -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

Loading…
Cancel
Save