Guest User

script-postinstall-15.6

a guest
Jan 4th, 2026
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.10 KB | None | 0 0
  1. #!/bin/bash set -euo pipefail IFS=$'\n\t' ### ========================================== ### OPEN SLEAP 15.6 – POST-INSTALL CLEAN SCRIPT ### Version corrigée, stable et "bashesque" ### ========================================== ### ----------- REPOSITORIES ----------- REPOS=( "https://download.opensuse.org/repositories/Apache/openSUSE_Leap_15.6/Apache.repo" "https://download.opensuse.org/repositories/Archiving/15.6/Archiving.repo" "https://download.opensuse.org/repositories/editors/15.6/editors.repo" "https://download.opensuse.org/repositories/Emulators/15.6/Emulators.repo" "https://download.opensuse.org/repositories/filesharing/15.6/filesharing.repo" "https://download.opensuse.org/repositories/filesystems/15.6/filesystems.repo" "https://download.opensuse.org/repositories/hardware/15.6/hardware.repo" "https://download.opensuse.org/repositories/multimedia:/proaudio/15.6/multimedia:proaudio.repo" "https://download.opensuse.org/repositories/network/15.6/network.repo" "https://download.opensuse.org/repositories/Publishing/15.6/Publishing.repo" ) for repo in "${REPOS[@]}"; do sudo zypper -n ar -f "$repo" done ### ----------- BASE PACKAGES ----------- sudo zypper -n install virtualbox android-tools apulse ### ----------- GROUPS ----------- GROUPS=( pipewire vboxusers adbusers audio users video tape apulse ) for grp in "${GROUPS[@]}"; do sudo groupadd -f "$grp" sudo usermod -a -G "$grp" unixman done ### -----------
  2.  
  3.  
  4. GIT DIRECTORY ----------- GITDIR="/home/unixman/Git" sudo mkdir -p "$GITDIR" sudo chown -R unixman:unixman "$GITDIR" cd "$GITDIR" ### ----------- GIT CLONES ----------- REPOS_TO_CLONE=( "https://github.com/sgan81/apfs-fuse.git" "https://github.com/KDE/plasma-nm.git" "https://github.com/coreos/go-systemd.git" "https://github.com/systemd/systemd.git" "https://github.com/stratis-storage/stratisd.git" "https://github.com/stratis-storage/stratisd-client-dbus.git" "https://github.com/stratis-storage/stratis-cli.git" "https://github.com/stratis-storage/devicemapper-rs.git" "https://github.com/stratis-storage/libcryptsetup-rs.git" "https://github.com/stratis-storage/dbus-python-client-gen.git" "https://github.com/stratis-storage/into-dbus-python.git" "https://github.com/ryncsn/memstrack.git" "https://github.com/geobarrod/KDE-Services.git" "https://github.com/plougher/squashfs-tools.git" "https://github.com/google/fonts.git" "https://github.com/chipsec/chipsec.git" "https://github.com/matthewbauer/undmg.git" "https://github.com/darlinghq/darling-dmg.git" "https://github.com/sickcodes/docker-osx.git" "https://github.com/Cleafy/sxkdvm.git" "https://github.com/corpnewt/gibMacOS.git" "https://github.com/angela-d/autohosts.git" "https://github.com/angela-d/devdom.git" "https://github.com/nonkronk/tripleboot-clover.git" "https://github.com/create-dmg/create-dmg.git" "https://github.com/MagerValp/AutoDMG.git" "https://github.com/notpeter/apple-installer-checksums.git" "https://github.com/rtrouton/create_macos_vm_install_dmg.git" "https://github.com/chilcote/vfuse.git" "https://github.com/jhernberg/udev-rtirq.git" "https://github.com/rncbc/rtirq.git" "https://github.com/PowerShell/PowerShell.git" "https://github.com/linux-apfs/apfsprogs.git" "https://github.com/yanjiyi/CloverISO.git" ) for repo in "${REPOS_TO_CLONE[@]}"; do git clone "$repo" done
  5.  
  6. ### ----------- INSTALL KEY PACKAGES ----------- sudo zypper -n install ntp dpkg dkms qtcurve-qt5 cockpit android-file-transfer-linux mtp-tools \ i2c-tools read-edid phpMyAdmin wordpress libcryptsetup-devel openconnect-devel libqca-qt5-devel \ python-dbus-python-common-devel python3-python-dbusmock i2pd ovmf dracut-tools msitools sensors \ evmctl systemd-devel simple-mtpfs gtkam gphotofs dmg2img efivar efivar-devel rapid-photo-downloader \ profile-sync-daemon openresolv udns pdnsd powertop qt-fsarchiver backintime kbackup kfind cronopete \ git-cola virtualbox telegram-desktop fuse3-devel fuse-devel dbus-broker rng-tools connman systemd-network \ systemd-coredump systemd-experimental virtualbox nvme-cli git-daemon coredns dkms latte-dock gh hfsprogs \ airwindowsmanager pasystray paprefs dnsmasq wine q4wine PlayOnLinux libhandy-devel clang net-tools-deprecated \ pv WoeUSB imagewriter console-setup bash-loadables hw-probe acpid xorg-x11 su_wrapper uid_wrapper \ resolv_wrapper socket_wrapper squashfuse timeshift spamass-milter rspamd dovecot freeipmi ipmitool meson \ firewall-config hardinfo lsb audacity neofetch Font-Downloader linuxsampler lscp-devel liblinuxsampler-devel \ appimaged zsync brotli peazip peazip-kf5 qtractor ### ----------- POWERMANAGEMENT FIX ----------- # On désactive powertop (évite autosuspend USB) sudo systemctl disable --now powertop 2>/dev/null || true echo "options usbcore autosuspend=-1" | sudo tee /etc/modprobe.d/50-usbpower.conf ### ----------- DBUS-BROKER ----------- sudo systemctl enable --now dbus-broker sudo systemctl enable --now git-daemon ### ----------- FOLDER SETUP ----------- DOWNLOADS="/home/unixman/Téléchargements" sudo mkdir -p "$DOWNLOADS"/{tars,zips,rpms,debs,isos,appimages} sudo chown -R unixman:unixman "$DOWNLOADS" ### ----------- INSTALL POWERSHELL ----------- cd "$GITDIR/PowerShell/tools" sudo sh installpsh-suse.sh cd ~ ### ----------- GOOGLE FONTS ----------- cd "$GITDIR/fonts" sudo cp -r ofl ufl /usr/share/fonts || true sudo fc-cache -f ### ----------- KDE SERVICES ----------- cd "$GITDIR/KDE-Services" sudo make && sudo make install ### ----------- MEMSTRACK ----------- cd "$GITDIR/memstrack" sudo make && sudo make install ### ----------- DARLING DMG ----------- cd "$GITDIR/darling-dmg" git submodule update --init sudo zypper -n install lzfse-devel lzfse mkdir -p build && cd build cmake .. sudo make && sudo make install sudo cp "$GITDIR/darling-dmg/build/darling-dmg" /usr/bin || true ### ----------- APFSPROGS ----------- cd "$GITDIR/apfsprogs" cd mkapfs && sudo make && sudo cp mkapfs /usr/bin cd ../apfsck && sudo make && sudo cp apfsck /usr/bin cd ../apfs-snap && sudo make && sudo cp apfs-snap /usr/bin ### ----------- UNDMG ----------- cd "$GITDIR/undmg" sudo cp undmg /usr/bin ### ----------- GIB-MACOS ----------- cd "$GITDIR/gibMacOS" python3 gibMacOS.py ### ----------- END ----------- echo "Installation complète. Redémarrage recommandé."
Advertisement
Add Comment
Please, Sign In to add comment