Refactor to allow ytfeed an installer
This commit is contained in:
@@ -1,19 +1,23 @@
|
||||
#!./menu
|
||||
#!usr/bin/env menu
|
||||
|
||||
$ echo Hello, world.
|
||||
|
||||
# ^^^ Text VVV Command
|
||||
echo Hello, world.
|
||||
|
||||
$ cat Makefile
|
||||
|
||||
# And this is the Attributes line, which is yet unused.
|
||||
cat Makefile
|
||||
|
||||
$ less <menu.rs
|
||||
$ cat examples/installation-helper
|
||||
# Technically this line is skipped entirely by menu(1).
|
||||
cat examples/installation-helper
|
||||
|
||||
$ less <menu.rs
|
||||
# But comments will be allowed here, they'll start with hash.
|
||||
less <menu.rs
|
||||
|
||||
Remove menu and re-build it.
|
||||
|
||||
# Don't start the attributes line with a tab; it'll break in later versions.
|
||||
rm -f menu; make
|
||||
|
||||
Install menu to /usr/local/ (assuming adequate permissions).
|
||||
@@ -34,4 +38,4 @@ Uninstall menu from /usr/local (using sudo(8)).
|
||||
|
||||
Open the ytfeed launcher.
|
||||
|
||||
make -C examples -f Makefile.ytfeed
|
||||
make -C examples -f Makefile.ytfeed launcher
|
||||
|
||||
Reference in New Issue
Block a user