fix install script and release ci
Signed-off-by: Ava Affine <ava@sunnypup.io>
This commit is contained in:
parent
7eb832b35b
commit
7119e9b8e3
2 changed files with 4 additions and 2 deletions
|
|
@ -40,6 +40,7 @@ prepare-release:
|
||||||
--xform='s,target/release/,,' \
|
--xform='s,target/release/,,' \
|
||||||
--xform='s,snippets/,,' \
|
--xform='s,snippets/,,' \
|
||||||
--xform='s,snippets/release/,,' \
|
--xform='s,snippets/release/,,' \
|
||||||
|
--xform='s,release/,,' \
|
||||||
target/release/flesh \
|
target/release/flesh \
|
||||||
Readme.org Writing.org Shell.org \
|
Readme.org Writing.org Shell.org \
|
||||||
snippets/flesh-mode.el \
|
snippets/flesh-mode.el \
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
if [ ! "$USER" == "root" ]; then
|
if [ "$USER" != "root" ]; then
|
||||||
echo you will likely need root to place in /bin.
|
echo you will likely need root to place in /bin.
|
||||||
echo comment out this test to continue without it
|
echo comment out this test to continue without it
|
||||||
exit
|
exit
|
||||||
|
|
@ -25,8 +25,9 @@ fi
|
||||||
mv userlib.f $libdir
|
mv userlib.f $libdir
|
||||||
mv genbind.f $libdir
|
mv genbind.f $libdir
|
||||||
mv interactive-devel.f $libdir
|
mv interactive-devel.f $libdir
|
||||||
mv default_fleshrc.f /home/$USER/.fleshrc
|
mv default_fleshrc.f /home/$SUDO_USER/.fleshrc
|
||||||
chown -R $SUDO_USER:$SUDO_USER $libdir
|
chown -R $SUDO_USER:$SUDO_USER $libdir
|
||||||
|
chown $SUDO_USER:$SUDO_USER /home/$SUDO_USER/.fleshrc
|
||||||
|
|
||||||
mv flesh /bin/flesh
|
mv flesh /bin/flesh
|
||||||
chmod +x /bin/flesh
|
chmod +x /bin/flesh
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue