From 00c391b46c8a69d6c1ba0f0dfe8b0ec926de09f3 Mon Sep 17 00:00:00 2001 From: k4yt3x Date: Mon, 8 Jun 2020 03:56:19 -0400 Subject: [PATCH] disabled purging to avoid accidental uninstallation of wanted packages --- src/video2x_setup_ubuntu.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/video2x_setup_ubuntu.sh b/src/video2x_setup_ubuntu.sh index dc162d7..e7e72d5 100755 --- a/src/video2x_setup_ubuntu.sh +++ b/src/video2x_setup_ubuntu.sh @@ -2,7 +2,7 @@ # Name: Video2X Setup Script (Ubuntu) # Creator: K4YT3X # Date Created: June 5, 2020 -# Last Modified: June 7, 2020 +# Last Modified: June 8, 2020 # help message if input is incorrect of if -h/--help is specified if [ "$1" == "-h" ] || [ "$1" == "--help" ] || [ "$#" -gt 2 ]; then @@ -205,19 +205,19 @@ EOF # clean up temp directory # purge default utilities -apt-get purge -y git-core curl wget ca-certificates gnupg2 python3-dev python3-pip python3-setuptools +# apt-get purge -y git-core curl wget ca-certificates gnupg2 python3-dev python3-pip python3-setuptools # purge waifu2x-caffe build dependencies -apt-get purge -y autoconf build-essential cmake gcc-8 libatlas-base-dev libboost-atomic-dev libboost-chrono-dev libboost-date-time-dev libboost-filesystem-dev libboost-iostreams-dev libboost-python-dev libboost-system-dev libboost-thread-dev libcudnn7 libcudnn7-dev libgflags-dev libgoogle-glog-dev libhdf5-dev libleveldb-dev liblmdb-dev libopencv-dev libprotobuf-dev libsnappy-dev protobuf-compiler python-numpy texinfo yasm zlib1g-dev +# apt-get purge -y autoconf build-essential cmake gcc-8 libatlas-base-dev libboost-atomic-dev libboost-chrono-dev libboost-date-time-dev libboost-filesystem-dev libboost-iostreams-dev libboost-python-dev libboost-system-dev libboost-thread-dev libcudnn7 libcudnn7-dev libgflags-dev libgoogle-glog-dev libhdf5-dev libleveldb-dev liblmdb-dev libopencv-dev libprotobuf-dev libsnappy-dev protobuf-compiler python-numpy texinfo yasm zlib1g-dev # purge waifu2x-converter-cpp build dependencies -apt-get purge -y libopencv-dev ocl-icd-opencl-dev +# apt-get purge -y libopencv-dev ocl-icd-opencl-dev # purge waifu2x/srmd/realsr-ncnn-vulkan build dependencies -apt-get purge -y unzip jq +# apt-get purge -y unzip jq # run autoremove and purge all unused packages -apt-get autoremove --purge -y +# apt-get autoremove --purge -y # remove temp directory rm -vrf $TEMP