mirror of
https://github.com/tcsenpai/powertux.git
synced 2025-06-06 03:05:24 +00:00
experimental flatpak aio installer
This commit is contained in:
parent
adff09fd38
commit
759c85599d
29
bin/flatline
Executable file
29
bin/flatline
Executable file
@ -0,0 +1,29 @@
|
||||
#!/bin/bash
|
||||
|
||||
FILENAME=$1
|
||||
PATH=$(pwd)
|
||||
|
||||
echo "⟦ F L A T L I N E installer ⟧"
|
||||
echo ""
|
||||
echo "⟌Installing $FILENAME"
|
||||
echo "⟌Located in $PATH"
|
||||
echo ""
|
||||
|
||||
if [ ! -f $FILENAME ]; then
|
||||
echo "ㄖ This file is not existant"
|
||||
exit
|
||||
fi
|
||||
|
||||
cd $PATH
|
||||
/usr/bin/flatpak install -y --noninteractive $FILENAME
|
||||
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "ᜀ Copy successful ᜀ"
|
||||
else
|
||||
echo "ᘐ Copy failed ᘐ"
|
||||
fi
|
||||
|
||||
echo ""
|
||||
echo "⽶ D O N E ⽶"
|
||||
read -p "Press enter to continue"
|
||||
|
Loading…
x
Reference in New Issue
Block a user