export VERSION=$VERSION;
source ~/immudex/versions/template.sh;
-echo "deb http://deb.debian.org/debian/ bullseye main" > /etc/apt/sources.list;
-echo "deb-src http://deb.debian.org/debian/ bullseye main" >> /etc/apt/sources.list;
-echo "deb http://security.debian.org/debian-security bullseye-security main" >> /etc/apt/sources.list;
-echo "deb-src http://security.debian.org/debian-security bullseye-security main" >> /etc/apt/sources.list;
-echo "deb http://deb.debian.org/debian/ bullseye-updates main" >> /etc/apt/sources.list;
-echo "deb-src http://deb.debian.org/debian/ bullseye-updates main" >> /etc/apt/sources.list;
+echo "deb http://deb.debian.org/debian/ stable main" > /etc/apt/sources.list;
+echo "deb-src http://deb.debian.org/debian/ stable main" >> /etc/apt/sources.list;
+echo "deb http://security.debian.org/debian-security stable-security main" >> /etc/apt/sources.list;
+echo "deb-src http://security.debian.org/debian-security stable-security main" >> /etc/apt/sources.list;
+echo "deb http://deb.debian.org/debian/ stable-updates main" >> /etc/apt/sources.list;
+echo "deb-src http://deb.debian.org/debian/ stable-updates main" >> /etc/apt/sources.list;
update_packages;
install_packages firejail ufw cryptsetup lsof extlinux grub-efi-amd64 efibootmgr bash-completion etherwake wakeonlan cifs-utils wget figlet mpv youtube-dl vim-gtk3 redshift irssi nmap nfs-common remmina python3-pip ffmpeg debootstrap squashfs-tools xorriso syslinux-efi grub-pc-bin grub-efi-amd64-bin mtools dosfstools chrony python3-venv isolinux rsync thunderbird gimp openvpn netselect-apt gvfs-backends;
head -1 /etc/apt/sources.list | tee /etc/apt/sources.list.d/xfce4-notes-plugin.list;
-sed -i 's/bullseye/experimental/' /etc/apt/sources.list.d/xfce4-notes-plugin.list;
+sed -i 's/stable/experimental/' /etc/apt/sources.list.d/xfce4-notes-plugin.list;
apt update;
apt install xfce4-notes-plugin -y;
rm /etc/apt/sources.list.d/xfce4-notes-plugin.list;
cd;
-cp -vv ~/immudex-testing/tools/${VERSION}/* /usr/local/bin;
+cp -vv ~/immudex/tools/${VERSION}/* /usr/local/bin;
chmod +x /usr/local/bin/*;
mkdir /etc/skel/.irssi
-cp -vv ~/immudex-testing/files/${VERSION}/config /etc/skel/.irssi;
-cp -vv ~/immudex-testing/files/${VERSION}/default.theme /etc/skel/.irssi;
-cp -rvv ~/immudex-testing/files/${VERSION}/libreoffice /etc/skel/.config;
-cp -vv ~/immudex-testing/files/${VERSION}/firejail.config /etc/firejail;
-cp -vv ~/immudex-testing/files/${VERSION}/Notifier\ -\ distro.desktop /etc/skel/.config/autostart;
-cp -vv ~/immudex-testing/files/${VERSION}/redshift.conf /etc/skel/.config;
-cp -vv ~/immudex-testing/files/${VERSION}/redshift.desktop /etc/skel/.config/autostart;
-cp -vv ~/immudex-testing/files/${VERSION}/Klient\ poczty\ Thunderbird.desktop /etc/skel/Pulpit;
-cp -vv ~/immudex-testing/files/${VERSION}/terminalrc /etc/skel/.config/xfce4/terminal;
-cp -vv ~/immudex-testing/files/${VERSION}/mimeapps.list /etc/skel/.config;
-cp -rvv ~/immudex-testing/files/${VERSION}/sync.sh /usr/share;
-cp -vv ~/immudex-testing/files/${VERSION}/conkyrc /etc/skel/.conkyrc;
-cp -vv ~/immudex-testing/files/${VERSION}/gtk-main.css /usr/share/xfce4-notes-plugin/gtk-3.0/;
-cp -vv ~/immudex-testing/files/${VERSION}/immudex_hostname.service /etc/systemd/system;
-
-tar -xzvf ~/immudex-testing/files/${VERSION}/mozilla.tgz -C /etc/skel;
-cp -vv ~/immudex-testing/images/${VERSION}/apply.png /usr/share/icons;
-cp -vv ~/immudex-testing/images/${VERSION}/rss.png /usr/share/icons;
-cp -vv ~/immudex-testing/images/${VERSION}/notes-background.jpg /usr/share/images/desktop-base;
+cp -vv ~/immudex/files/${VERSION}/config /etc/skel/.irssi;
+cp -vv ~/immudex/files/${VERSION}/default.theme /etc/skel/.irssi;
+cp -rvv ~/immudex/files/${VERSION}/libreoffice /etc/skel/.config;
+cp -vv ~/immudex/files/${VERSION}/firejail.config /etc/firejail;
+cp -vv ~/immudex/files/${VERSION}/Notifier\ -\ distro.desktop /etc/skel/.config/autostart;
+cp -vv ~/immudex/files/${VERSION}/redshift.conf /etc/skel/.config;
+cp -vv ~/immudex/files/${VERSION}/redshift.desktop /etc/skel/.config/autostart;
+cp -vv ~/immudex/files/${VERSION}/Klient\ poczty\ Thunderbird.desktop /etc/skel/Pulpit;
+cp -vv ~/immudex/files/${VERSION}/terminalrc /etc/skel/.config/xfce4/terminal;
+cp -vv ~/immudex/files/${VERSION}/mimeapps.list /etc/skel/.config;
+cp -vv ~/immudex/files/${VERSION}/conkyrc /etc/skel/.conkyrc;
+cp -vv ~/immudex/files/${VERSION}/gtk-main.css /usr/share/xfce4-notes-plugin/gtk-3.0/;
+cp -vv ~/immudex/files/${VERSION}/immudex_hostname.service /etc/systemd/system;
+
+tar -xzvf ~/immudex/files/${VERSION}/mozilla.tgz -C /etc/skel;
+cp -vv ~/immudex/images/${VERSION}/apply.png /usr/share/icons;
+cp -vv ~/immudex/images/${VERSION}/rss.png /usr/share/icons;
+cp -vv ~/immudex/images/${VERSION}/notes-background.jpg /usr/share/images/desktop-base;
rm /usr/share/images/desktop-base/no_trespass_abandon.jpeg;
systemctl enable immudex_hostname.service;
cp -rvv /etc/skel/.??* /home/user;
cp -rvv /etc/skel/?* /home/user;
mkdir /home/user/.local;
- tar -xvf ~/immudex-testing/files/${VERSION}/local_user.tar -C /home/user/.local;
+ tar -xvf ~/immudex/files/${VERSION}/local_user.tar -C /home/user/.local;
rm /home/user/.face;
cp /usr/share/images/desktop-base/immudex_xfce_greeter_logo.png /home/user/.face;
chown -R user:user /home/user;
cp -rvv /etc/skel/.??* /home/xf0r3m;
cp -rvv /etc/skel/?* /home/xf0r3m;
mkdir /home/xf0r3m/.local;
- tar -xvf ~/immudex-testing/files/${VERSION}/local_xf0r3m.tar -C /home/xf0r3m/.local;
+ tar -xvf ~/immudex/files/${VERSION}/local_xf0r3m.tar -C /home/xf0r3m/.local;
rm /home/xf0r3m/.face;
cp /usr/share/images/desktop-base/immudex_xfce_greeter_logo.png /home/xf0r3m/.face;
chown -R xf0r3m:xf0r3m /home/xf0r3m;
apt-get clean;
apt-get autoremove -y;
apt-get autoclean;
- rm -rf ~/immudex-testing;
+ rm -rf ~/immudex;
if [ -d ~/xfcedebian ]; then rm -rf ~/xfcedebian; fi
rm /var/cache/apt/*.bin;
echo > ~/.bash_history;
}
function set_notifier_packages() {
- cp -vv ~/immudex-testing/files/${VERSION}/Notifier\ -\ packages.desktop /home/xf0r3m/.config/autostart;
+ cp -vv ~/immudex/files/${VERSION}/Notifier\ -\ packages.desktop /home/xf0r3m/.config/autostart;
chown xf0r3m:xf0r3m /home/xf0r3m/.config/autostart/Notifier\ -\ packages.desktop;
}
function set_xfce4_notes_autostart() {
- cp -vv ~/immudex-testing/files/${VERSION}/autostart-x4notes.desktop /home/xf0r3m/.config/autostart;
+ cp -vv ~/immudex/files/${VERSION}/autostart-x4notes.desktop /home/xf0r3m/.config/autostart;
chown xf0r3m:xf0r3m /home/xf0r3m/.config/autostart/autostart-x4notes.desktop;
}