mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
delete old
This commit is contained in:
parent
179c616af3
commit
c8ec6743b6
2 changed files with 0 additions and 36 deletions
19
check.sh
19
check.sh
|
@ -1,19 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
# DEBUG mod
|
||||
#bash -x quickyad 2>&1 | tee output.log
|
||||
|
||||
# YAD gui script for excellent quickemu
|
||||
#TODO Download Icons
|
||||
#TODO Add homepages to right click
|
||||
|
||||
echo "Running..."
|
||||
# dependencies checks
|
||||
if ! command -v yad >/dev/null 2>&1; then
|
||||
echo "You are missing yad..." >&2
|
||||
exit 1
|
||||
fi
|
||||
if ! command -v quickemu >/dev/null 2>&1; then
|
||||
echo "You are missing quickemu..." >&2
|
||||
exit 1
|
||||
fi
|
|
@ -1,17 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Get the name of the script from the command line argument
|
||||
script_name=$1
|
||||
|
||||
# Get a list of all the function names in the script
|
||||
function_names=$(grep -oP '^[[:space:]]*function \K\w+' "$script_name")
|
||||
|
||||
# Sort the function names alphabetically
|
||||
sorted_function_names=$(echo "$function_names" | sort)
|
||||
|
||||
# Loop through the sorted function names and print the function definitions
|
||||
for function_name in $sorted_function_names
|
||||
do
|
||||
# Print the function definition to stdout
|
||||
grep -A $(wc -l < "$script_name") -w "function $function_name" "$script_name"
|
||||
done
|
Loading…
Reference in a new issue