Skip to content
This repository has been archived by the owner on Sep 6, 2024. It is now read-only.

Commit

Permalink
[-] Remove uselessness codes
Browse files Browse the repository at this point in the history
  • Loading branch information
heng30 committed Oct 17, 2023
1 parent 71ba189 commit 5c3c139
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
3 changes: 0 additions & 3 deletions pack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,6 @@ for plugin in "${plugins[@]}"; do
cp -rf $plugin $package_plugins
done


# cp -rf $DIR/../web $output_dir/webserver

# 制作tar.gz包
rm -f $target_package
tar -zcvf $target_package $output_dir > /dev/null
Expand Down
3 changes: 0 additions & 3 deletions release/package-stuff/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,7 @@ if [ ! -d $dst_dir ]; then
sudo mkdir -p $dst_dir
fi

cp -rf $src_dir/webserver $app_data_dir
sudo mv $src_dir/* $dst_dir
rm -rf $src_dir

echo "Install successfully!!!"


2 changes: 0 additions & 2 deletions release/package-stuff/uninstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@
dst_dir="/opt/cryptoinfo"
desktop_dir=$HOME/.local/share/applications
app_desktop="cryptoinfo.desktop"
app_data_web_dir=$HOME/.local/share/cryptoinfo/webserver

rm -f $desktop_dir/$app_desktop
rm -f $HOME/Desktop/$app_desktop
rm -rf $app_data_web_dir
sudo rm -rf $dst_dir

echo "Uninstall successfully!!!"

0 comments on commit 5c3c139

Please sign in to comment.