Commit f4f8546c authored by Vitaly Lipatov's avatar Vitaly Lipatov

play.d: cleanup scripts

parent f102703e
...@@ -7,8 +7,6 @@ DESCRIPTION="Discord from the official site" ...@@ -7,8 +7,6 @@ DESCRIPTION="Discord from the official site"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
epm assure wget || fatal "Can't install wget, but curl can't get filename: https://github.com/curl/curl/issues/8461"
# curl can't get filename: https://github.com/curl/curl/issues/8461
epm assure wget
epm install "https://discord.com/api/download?platform=linux&format=deb" epm install "https://discord.com/api/download?platform=linux&format=deb"
...@@ -4,12 +4,6 @@ PKGNAME=snap4arduino ...@@ -4,12 +4,6 @@ PKGNAME=snap4arduino
SUPPORTEDARCHES="x86_64 x86" SUPPORTEDARCHES="x86_64 x86"
DESCRIPTION="Snap4Arduino binds Snap! and Arduino together" DESCRIPTION="Snap4Arduino binds Snap! and Arduino together"
if [ "$1" = "--remove" ] ; then
# $PKGNAME-stable really
epm remove $(epmqp $PKGNAME)
exit
fi
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
arch=$($DISTRVENDOR --distro-arch) arch=$($DISTRVENDOR --distro-arch)
......
...@@ -7,7 +7,6 @@ DESCRIPTION="Zoom client from the official site" ...@@ -7,7 +7,6 @@ DESCRIPTION="Zoom client from the official site"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
repack='--repack'
arch=$($DISTRVENDOR --distro-arch) arch=$($DISTRVENDOR --distro-arch)
case $arch in case $arch in
x86_64|amd64) x86_64|amd64)
...@@ -22,7 +21,7 @@ case $arch in ...@@ -22,7 +21,7 @@ case $arch in
esac esac
if [ "$($DISTRVENDOR -s)" = "alt" ] ; then if [ "$($DISTRVENDOR -s)" = "alt" ] ; then
epm install $repack https://zoom.us/client/$version/zoom_$arch.rpm epm install --repack https://zoom.us/client/$version/zoom_$arch.rpm
exit exit
fi fi
......
...@@ -22,7 +22,8 @@ subst '1i%add_python3_path /usr/share/atom-beta' $SPEC ...@@ -22,7 +22,8 @@ subst '1i%add_python3_path /usr/share/atom-beta' $SPEC
# replace embedded git with standalone (due Can't locate Git/LoadCPAN/Error.pm) # replace embedded git with standalone (due Can't locate Git/LoadCPAN/Error.pm)
EMBDIR=/usr/share/atom-beta/resources/app.asar.unpacked/node_modules/dugite/git EMBDIR=/usr/share/atom-beta/resources/app.asar.unpacked/node_modules/dugite/git
rm -rv $BUILDROOT$EMBDIR/ echo "Removing $BUILDROOT$EMBDIR/ ..."
rm -r $BUILDROOT$EMBDIR/
mkdir -p $BUILDROOT$EMBDIR/bin/ mkdir -p $BUILDROOT$EMBDIR/bin/
ln -s /usr/bin/git $BUILDROOT$EMBDIR/bin/git ln -s /usr/bin/git $BUILDROOT$EMBDIR/bin/git
subst "s|.*$EMBDIR/libexec/.*||" $SPEC subst "s|.*$EMBDIR/libexec/.*||" $SPEC
...@@ -31,7 +32,8 @@ subst "s|.*$EMBDIR/ssl/.*||" $SPEC ...@@ -31,7 +32,8 @@ subst "s|.*$EMBDIR/ssl/.*||" $SPEC
# replace embedded npm with standalone # replace embedded npm with standalone
EMBDIR=/usr/share/atom-beta/resources/app/apm/node_modules/npm EMBDIR=/usr/share/atom-beta/resources/app/apm/node_modules/npm
rm -rv $BUILDROOT$EMBDIR/ echo "Removing $BUILDROOT$EMBDIR/ ..."
rm -r $BUILDROOT$EMBDIR/
ln -s /usr/lib/node_modules/npm $BUILDROOT$EMBDIR ln -s /usr/lib/node_modules/npm $BUILDROOT$EMBDIR
subst "s|.*$EMBDIR/..*\"||" $SPEC subst "s|.*$EMBDIR/..*\"||" $SPEC
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment