Changeset ff189e7 for Slackware


Ignore:
Timestamp:
Jun 14, 2014 9:15:55 AM (6 years ago)
Author:
kytv <kytv@…>
Branches:
master
Children:
8845ce6
Parents:
89c07ac9
Message:

slackbuild: minor changes to the comments

Location:
Slackware/i2p
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • Slackware/i2p/doinst.sh

    r89c07ac9 rff189e7  
    1313    OLD="$(dirname $NEW)/$(basename $NEW .new)"
    1414    if [ ! -r $NEW ]; then
    15         # Flaw in the packaging, this shouldn't happen. Just return.
     15        # If we get here there's a flaw in the packaging. We'll just return so that
     16        # we don't emit a spurious error for the user. (It's not the user's problem).
    1617        return
    1718    fi
    1819
    19     # If this file doesn't exist yet, drop the .new extension
     20    # If this file doesn't exist yet, drop the .new extension.
    2021    if [ ! -r $OLD ]; then
    2122        mv $NEW $OLD
    2223        return
    2324    elif [ "$(md5sum $OLD | cut -d' ' -f1)" = "$(md5sum $NEW | cut -d' ' -f1)" ]; then
    24         # If there are no differences in the files, remove the new one
     25        # If there are no differences in the files, remove the file with the .new extension.
    2526        rm $NEW
    2627        return
    2728    fi
    28     # If they differ alert the admin (but let's not be terribly obnoxious about it)
     29    # Alert the admin if they differ, but let's not be terribly obnoxious about it.
    2930    echo "WARNING: The files $OLD and $NEW differ." >&2
    3031}
  • Slackware/i2p/i2p.SlackBuild

    r89c07ac9 rff189e7  
    1212#
    1313# For safety's sake, a user's I2P config files will *never* be overwritten by any upgrade method.
    14 # In the future this SlackBuild may alert when a default config file is updated
     14# In the future this SlackBuild may alert when a default config file is updated.
    1515##
    1616
     
    5656# If the version is x.y, it'll be set to x.y.0. Otherwise the version string will be unchanged
    5757CORE=$(awk -F'"' '/static\s+String\s+VERSION/{print $2}' $I2PSRC/core/java/src/net/i2p/CoreVersion.java | \
    58         awk -F. '{ if (NF > 3) { print; exit } else if ($3 == "") { $3=0; print $1"."$2"."$3 } else print }')
     58        awk -F. '{ if (NF > 3) { print; exit } else if ($3 == "") { $3=0; print $1"."$2"."$3 } else print }')
    5959VERSION="${CORE}_${I2PBUILD}"
    6060
     
    8383mv licenses LICENSE.txt -t $PKG/usr/doc/$NAME-$VERSION
    8484
    85 # runplain will live in the installation directory. eepget and i2prouter will go to /usr/bin
     85# runplain.sh will live in the installation directory. eepget and i2prouter will go to /usr/bin
    8686# with symlinks in INST_DIR (created in doinst.sh)
    8787install -m755 i2prouter $PKG/usr/bin
     
    104104# to figure out the correct wrapper binary to use.
    105105
    106 # Howver: In case the i2prouter script's detection fails, "$INST_DIR/i2psvc" will point to
     106# However: In case the i2prouter script's detection fails, "$INST_DIR/i2psvc" will point to
    107107# what 'we' think the correct binary is.
    108108#
  • Slackware/i2p/rc.i2p

    r89c07ac9 rff189e7  
    1515# Note: this is not the same as the language shown in the I2P router console.
    1616# This affects the locale used in wrapper.log. For best results, use a
    17 # unicode enabled locale (especially important for foreign language torrents).
     17# unicode enabled locale. This is especially important for foreign language torrents.
    1818#
    1919# If not set the user's configured locale will be used.
     
    4646fi
    4747
    48 # abort script if any variables are unset
     48# Abort this script if any referenced variables haven't been set
    4949set -u
    5050
Note: See TracChangeset for help on using the changeset viewer.