Fix a bug in install.sh (ROOT_DIR includes DEST_DIR)
This commit is contained in:
parent
8ded65b237
commit
1fcc1af299
|
@ -19,8 +19,7 @@
|
|||
# You should have received a copy of the GNU General Public License
|
||||
# along with KissCount. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
DEST_DIR=""
|
||||
ROOT_DIR=$DEST_DIR/usr
|
||||
ROOT_DIR=/usr
|
||||
SHARE_DIR=$DEST_DIR$ROOT_DIR/share/kisscount
|
||||
LIB_DIR=$DEST_DIR$ROOT_DIR/lib/kisscount
|
||||
BIN_DIR=$DEST_DIR$ROOT_DIR/bin
|
||||
|
@ -40,7 +39,7 @@ case "$1" in
|
|||
sudo cp kc $BIN_DIR
|
||||
sudo cp -r lib/* $LIB_DIR
|
||||
|
||||
echo "KissCount successfully installed !"
|
||||
echo "KissCount successfully installed ! ($DEST_DIR$ROOT_DIR)"
|
||||
;;
|
||||
|
||||
--uninstall|-u)
|
||||
|
|
Loading…
Reference in New Issue
Block a user