mirror of
https://github.com/bytedream/aion.git
synced 2025-06-28 07:20:32 +02:00
Add files via upload
This commit is contained in:
27
aion-0.1.0_alpha/etc/uninstall.sh
Normal file
27
aion-0.1.0_alpha/etc/uninstall.sh
Normal file
@ -0,0 +1,27 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ "$#" -gt "1" ]; then
|
||||
echo "too many arguments were given"
|
||||
elif [ "$#" -eq "1" ]; then
|
||||
if [ "$1" == "--all" ]; then
|
||||
yes | pip3 uninstall aionlib colorama pafy pocketsphinx psutil pyaudio pyudev snowboy SpeechRecognition Wikipedia-API youtube_dl
|
||||
|
||||
apt-get -y purge bison build-essential espeak ffmpeg flac libasound2-dev libatlas-base-dev libpulse-dev python3-pyaudio sox subversion swig vlc wget
|
||||
apt-get -y autoremove
|
||||
|
||||
rm -r /usr/local/aion-*
|
||||
|
||||
rm -r /etc/aion_data
|
||||
|
||||
rm /usr/bin/aion
|
||||
else
|
||||
echo "unexpected argument were given"
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
yes | pip3 uninstall aionlib colorama pafy pocketsphinx psutil pyaudio pyudev snowboy SpeechRecognition Wikipedia-API youtube_dl
|
||||
|
||||
apt-get -y remove bison build-essential espeak ffmpeg flac libasound2-dev libatlas-base-dev libpulse-dev python3-pyaudio sox subversion swig vlc wget
|
||||
|
||||
rm -r /usr/local/aion-*
|
||||
fi
|
Reference in New Issue
Block a user