mirror of
https://github.com/awesome-selfhosted/awesome-selfhosted.git
synced 2025-04-22 13:02:08 +02:00
Fix Makefile: source and demo links, invert order
This commit is contained in:
parent
e4b210a43a
commit
26852b7371
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -38,7 +38,7 @@ add:
|
|||
read Source; if [ -z "$$Source" ]; then CSource="" ; else CSource="[Source Code]($$Source)" ; fi ;\
|
||||
if [[ "$$CSource" == "" && "$$Demo" == "" ]]; \
|
||||
then Moreinfo="";\ printf "debug" ;\
|
||||
else Moreinfo=$$(echo "($$CSource$$CDemo)" | sed 's|)\[|\], [|g') ;\
|
||||
else Moreinfo=$$(echo "($$CDemo$$CSource)" | sed 's|)\[|), [|g') ;\
|
||||
fi ;\
|
||||
echo -e "Copy this entry to your clipboard, paste it in the appropriate category:\n\n" ;\
|
||||
echo " * [$$Name]($$Url) - $${Description}. $$Moreinfo \`$$License\` \`$$Language\`"
|
||||
|
@ -47,4 +47,4 @@ add:
|
|||
#TODO ask for category and insert item accordingly
|
||||
#TODO check for unsorted entries
|
||||
#TODO automatically sort entries/sections
|
||||
#TODO autoupdate contributors list
|
||||
#TODO autoupdate contributors list
|
||||
|
|
Loading…
Add table
Reference in a new issue