File tree 2 files changed +26
-1
lines changed
2 files changed +26
-1
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ echo " WITH_GLINJECT=$WITH_GLINJECT"
79
79
PREFIX=" /usr"
80
80
OPTIONS=" -DENABLE_32BIT_GLINJECT=$ENABLE_32BIT_GLINJECT -DENABLE_X86_ASM=$ENABLE_X86_ASM -DENABLE_FFMPEG_VERSIONS=$ENABLE_FFMPEG_VERSIONS -DWITH_QT5=$WITH_QT5 -DWITH_GLINJECT=$WITH_GLINJECT "
81
81
82
- echo " Creating build-release ..."
82
+ echo " Entering build-release directory ..."
83
83
mkdir -p build-release
84
84
cd build-release
85
85
@@ -100,6 +100,7 @@ sudo rm -f "/usr/lib/x86_64-linux-gnu/libssr-glinject."*
100
100
echo " Installing ..."
101
101
sudo make install
102
102
103
+ echo " Leaving build-release directory ..."
103
104
cd ..
104
105
105
106
echo " Running post-install script ..."
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ # Run this if you used 'simple-build-and-install' and you want to uninstall the program again.
3
+
4
+ set -e
5
+ cd " $( dirname " ${BASH_SOURCE[0]} " ) "
6
+
7
+ if [ x" $( whoami ) " = x" root" ]; then
8
+ echo " Error: don't run this script as root, this will mess up file permissions"
9
+ exit 1
10
+ fi
11
+
12
+ echo " Entering build-release directory ..."
13
+ cd build-release
14
+
15
+ echo " Uninstalling ..."
16
+ sudo xargs rm < install_manifest.txt
17
+
18
+ echo " Leaving build-release directory ..."
19
+ cd ..
20
+
21
+ echo " Running post-install script ..."
22
+ sudo ./postinstall
23
+
24
+ echo " Done."
You can’t perform that action at this time.
0 commit comments