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