| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/irc/bnc/files/ |
Upload File : |
--- bncsetup.orig 2005-02-07 01:51:06 UTC
+++ bncsetup
@@ -91,15 +91,9 @@ altconf()
}
-if ! [ -e ./mkpasswd ]
-then
- echo "You need to Make the package before you can use this script"
- echo "(required ./mkpasswd)"
- bsclean 0
-fi
echo "BAD\$" > $TMPFILE
-echo "Test" | ./mkpasswd -s >> $TMPFILE
+echo "Test" | mkpasswd -s >> $TMPFILE
CRCYS=$(cat $TMPFILE | grep '\$' | tail -1 )
@@ -244,13 +238,13 @@ ERRORLEVEL=$?
if [ x$ERRORLEVEL = x0 ]
then
- if [ -x ./mkpasswd ]
+ if [ -x @PREFIX@/bin/mkpasswd ]
then
- SUPERPASS="+"$(echo "$SUPERPASS" | ./mkpasswd -s)
- BNCPASS="+"$(echo "$BNCPASS" | ./mkpasswd -s)
+ SUPERPASS="+"$(echo "$SUPERPASS" | mkpasswd -s)
+ BNCPASS="+"$(echo "$BNCPASS" | mkpasswd -s)
else
clear
- echo "You have not did ./configure and make so there is no ./mkpasswd"
+ echo "You have not did ./configure and make so there is no mkpasswd"
echo "This program is required to produce the encryption"
bsclean 0
fi