31 lines
698 B
Bash
Executable File
31 lines
698 B
Bash
Executable File
#!/bin/bash
|
||
|
||
# Automatisation d'installation et configuration de BackupPC pour Windows 10 {{{
|
||
# via Bash on Ubuntu
|
||
# Institut de Physique de Rennes UMR6251
|
||
# Jérémy Gardais − Mail 2019
|
||
# }}}
|
||
# How-to use {{{
|
||
# With PowerShell
|
||
## This script can be launch with PowerShell :
|
||
## bash -c "./install_backuppc_windows_bash_on_linux.sh"
|
||
# }}}
|
||
|
||
SUCCESS=0
|
||
ERROR=1
|
||
|
||
# Gestion des paquets {{{
|
||
## Mettre à jour les dépôts
|
||
apt update
|
||
|
||
## Installer aptitude
|
||
### aptitude permet une meilleure résolution des dépendances/erreurs/... que apt
|
||
### apt-get est déprécié au profit de apt ou aptitude
|
||
apt install -y aptitude
|
||
|
||
## Mettre à jour le système
|
||
aptitude full-upgrade -y
|
||
# }}}
|
||
|
||
exit "${SUCCESS}"
|