Skip to content

Commit 64ceeb7

Browse files
Update install.sh
1 parent fcef780 commit 64ceeb7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

install.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ reflector --country Canada --protocol https --sort rate --save /etc/pacman.d/mir
166166
pacman -Sy
167167

168168
#Install distro
169-
chmod +x *.sh
169+
wget https://raw.githubusercontent.com/EmperorPenguin18/linux-installer/main/$(echo $distro).sh && chmod +x $(echo $distro).sh
170170
if [[ $distro = "debian" ]]; then
171171
./debian.sh $BOOTTYPE $time $host $pass $user $DISKNAME $ROOTNAME
172172
elif [[ $distro = "fedora" ]]; then
@@ -193,6 +193,7 @@ fi
193193
umount -A /dev/$ENCRYPTNAME
194194
rm /etc/pacman.d/mirrorlist
195195
mv /etc/pacman.d/mirrorlist.bak /etc/pacman.d/mirrorlist
196+
rm $(echo $distro).sh
196197

197198
echo "-------------------------------------------------"
198199
echo " All done! You can reboot now. "

0 commit comments

Comments
 (0)