mirror of
https://github.com/Kron4ek/Conty
synced 2024-11-16 19:50:06 +01:00
Just a few cosmetical changes (#6)
* minor cosmetics
* minor cosmetics
* pull own filesize from project page - removes need for hardcoded size
* Revert "pull own filesize from project page - removes need for hardcoded size" - nonsense
This reverts commit 5c540c3388
.
Co-authored-by: frostworx <frost.zeux@gmail.com>
This commit is contained in:
parent
bfa0d3addf
commit
f0d9759b43
3 changed files with 6 additions and 8 deletions
|
@ -376,12 +376,11 @@ packagelist="base base-devel nano mesa lib32-mesa vulkan-radeon lib32-vulkan-rad
|
|||
meson mingw-w64-gcc gamemode lib32-gamemode cmake jre8-openjdk \
|
||||
libva-mesa-driver"
|
||||
|
||||
wget -q "https://archlinux.org/download/"
|
||||
current_release="$(cat index.html | grep "Current Release" | tail -c -16 | head -c +10)"
|
||||
rm index.html
|
||||
|
||||
current_release="$(wget -q "https://archlinux.org/download/" -O - | grep "Current Release" | tail -c -16 | head -c +10)"
|
||||
|
||||
echo "Downloading ${current_release} release"
|
||||
wget -q --show-progress -O arch.tar.gz https://mirror.rackspace.com/archlinux/iso/${current_release}/archlinux-bootstrap-${current_release}-x86_64.tar.gz
|
||||
wget -q --show-progress -O arch.tar.gz "https://mirror.rackspace.com/archlinux/iso/${current_release}/archlinux-bootstrap-${current_release}-x86_64.tar.gz"
|
||||
tar xf arch.tar.gz
|
||||
rm arch.tar.gz
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
script_dir="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"
|
||||
|
||||
# Builtin suqashfuse supports only lz4 and zstd
|
||||
# Builtin squashfuse supports only lz4 and zstd
|
||||
# So choose either lz4 or zstd
|
||||
squashfs_compressor="lz4"
|
||||
compressor_arguments="-Xhc"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
## Dependencies: bash fuse2 tar coreutils
|
||||
|
||||
# Prevent launching as root
|
||||
if [ -z $ALLOW_ROOT ]; then
|
||||
if [ -z "$ALLOW_ROOT" ]; then
|
||||
if [ $EUID = 0 ]; then
|
||||
echo "Do not run this app as root!"
|
||||
echo
|
||||
|
@ -183,8 +183,7 @@ run_bwrap () {
|
|||
mkdir -p "${working_dir}"/mnt
|
||||
"${fmount}" -u "${working_dir}"/mnt 2>/dev/null || umount "${working_dir}"/mnt 2>/dev/null
|
||||
|
||||
"${sfuse}" -o offset="${offset}" "${script}" "${working_dir}"/mnt
|
||||
if [ $? = 0 ]; then
|
||||
if "${sfuse}" -o offset="${offset}" "${script}" "${working_dir}"/mnt ; then
|
||||
echo "Running Conty"
|
||||
|
||||
if [ -n "${AUTOSTART}" ]; then
|
||||
|
|
Loading…
Reference in a new issue