debut du script
This commit is contained in:
parent
3e565ebc52
commit
6da76564ac
28
install.sh
Executable file
28
install.sh
Executable file
@ -0,0 +1,28 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "\n
|
||||
██╗ ██╗ ██████╗ ██████╗ ██████╗ ██╗███████╗ ██████╗
|
||||
╚██╗██╔╝██╔═══██╗██╔══██╗██╔══██╗██║██╔════╝██╔═══██╗
|
||||
╚███╔╝ ██║ ██║██████╔╝██████╔╝██║███████╗██║ ██║
|
||||
██╔██╗ ██║ ██║██╔══██╗██╔══██╗██║╚════██║██║ ██║
|
||||
██╔╝ ██╗╚██████╔╝██║ ██║██║ ██║██║███████║╚██████╔╝
|
||||
╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝╚══════╝ ╚═════╝"
|
||||
sudo apt-get update && sudo apt-get install -y xorriso
|
||||
|
||||
echo "\n
|
||||
██╗███████╗ ███████╗ ██████╗ ██╗ ██╗███╗ ██╗██████╗ ███████╗██╗ ██╗████████╗██████╗ █████╗ ██████╗████████╗
|
||||
██║██╔════╝ ██╔════╝██╔═══██╗██║ ██║████╗ ██║██╔══██╗ ██╔════╝╚██╗██╔╝╚══██╔══╝██╔══██╗██╔══██╗██╔════╝╚══██╔══╝
|
||||
██║█████╗ █████╗ ██║ ██║██║ ██║██╔██╗ ██║██║ ██║ █████╗ ╚███╔╝ ██║ ██████╔╝███████║██║ ██║
|
||||
██║██╔══╝ ██╔══╝ ██║ ██║██║ ██║██║╚██╗██║██║ ██║ ██╔══╝ ██╔██╗ ██║ ██╔══██╗██╔══██║██║ ██║
|
||||
██║██║ ██║ ╚██████╔╝╚██████╔╝██║ ╚████║██████╔╝ ███████╗██╔╝ ██╗ ██║ ██║ ██║██║ ██║╚██████╗ ██║
|
||||
╚═╝╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═══╝╚═════╝ ╚══════╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ ╚═╝"
|
||||
fichiers_iso=$(find "$PWD" -maxdepth 1 -type f -iname "*.iso")
|
||||
|
||||
if [ -n "$fichiers_iso" ]; then
|
||||
# Extraction et permission de modification pour chaque fichier ISO
|
||||
for fichier_iso in $fichiers_iso; do
|
||||
xorriso -osirrox on -indev "$fichier_iso" -extract / iso && chmod -R +w iso
|
||||
done
|
||||
else
|
||||
echo "Aucun fichier ISO trouvé dans le répertoire courant."
|
||||
fi
|
||||
Loading…
x
Reference in New Issue
Block a user