Skip to content

Commit

Permalink
Update ataraxia-installer
Browse files Browse the repository at this point in the history
  • Loading branch information
Ishimoto Shinobu authored Jul 30, 2020
1 parent 41980a8 commit 0b4c03a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions usr/bin/ataraxia-installer
Original file line number Diff line number Diff line change
Expand Up @@ -156,14 +156,14 @@ install_os() {
fi

echo "Searching for install media"
mount -n -r -t iso9660 LABEL="ataraxialinux" /media/cdrom || \
mount -t auto LABEL="ataraxialinux" /media/cdrom || \
{
sleep 3
mount -n -r /dev/disk/by-label/ataraxialinux /media/cdrom
if [ $? -ne 0 ]; then
mount /dev/disk/by-label/ataraxialinux /media/cdrom || \
{
echo "Failed to find Ataraxia Linux installation media"
exit 1
fi
}
}

echo "Creating partitions"
Expand Down

0 comments on commit 0b4c03a

Please sign in to comment.