Skip to content

Commit

Permalink
Merge pull request #41 from dralley/master
Browse files Browse the repository at this point in the history
Rename folders from camelCase to lowercase
  • Loading branch information
clefebvre committed Apr 13, 2016
2 parents a03cf1f + 7fccebf commit 4a5c8f5
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions debian/postinst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
# postinst script
# postinst script
# see: dh_installdeb(1)

set -e
Expand All @@ -23,13 +23,13 @@ case "$1" in
then
glib-compile-schemas /usr/share/glib-2.0/schemas
fi
/usr/lib/linuxmint/mintSystem/mint-adjust.py
/usr/lib/linuxmint/mintsystem/mint-adjust.py
;;
abort-upgrade|abort-remove|abort-deconfigure)

;;
triggered)
/usr/lib/linuxmint/mintSystem/mint-adjust.py
/usr/lib/linuxmint/mintsystem/mint-adjust.py
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
Expand Down
2 changes: 1 addition & 1 deletion etc/init.d/mintsystem
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

case $1 in
start|restart|force-reload)
/usr/lib/linuxmint/mintSystem/mint-adjust.py
/usr/lib/linuxmint/mintsystem/mint-adjust.py
;;
stop)
;;
Expand Down
2 changes: 1 addition & 1 deletion usr/bin/dns-fix
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/bash
sudo cp /usr/lib/linuxmint/mintSystem/templates/resolv.conf /etc/resolv.conf
sudo cp /usr/share/linuxmint/mintsystem/templates/resolv.conf /etc/resolv.conf
File renamed without changes.
6 changes: 3 additions & 3 deletions usr/local/bin/apt
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ argoptions = " ".join(sys.argv[2:])
command = ""

show_help = False

if argcommand == "help":
if len(sys.argv) < 3:
usage()
Expand All @@ -75,7 +76,6 @@ if argcommand == "help":
if argcommand in aliases.keys():
argcommand = aliases[argcommand]


if argcommand in ("autoremove", "list", "search", "show", "install", "remove", "purge", "update", "upgrade", "full-upgrade", "edit-sources"):
# apt
command = "/usr/bin/apt %s %s" % (argcommand, argoptions)
Expand All @@ -84,12 +84,12 @@ elif argcommand in ("clean", "dselect-upgrade", "build-dep", "check", "autoclean
command = "apt-get %s %s" % (argcommand, argoptions)
elif argcommand in ("changelog", "reinstall"):
# aptitude
command = "aptitude %s %s" % (argcommand, argoptions)
command = "aptitude %s %s" % (argcommand, argoptions)
elif argcommand in ("stats", "depends", "rdepends", "policy"):
# apt-cache
command = "apt-cache %s %s" % (argcommand, argoptions)
elif argcommand in ("recommends"):
command = "/usr/lib/linuxmint/mintSystem/mint-apt-recommends.py " + argoptions
command = "/usr/lib/linuxmint/mintsystem/mint-apt-recommends.py " + argoptions
elif argcommand in ("showhold", "hold", "unhold"):
# apt-mark
command = "apt-mark %s %s" % (argcommand, argoptions)
Expand Down

0 comments on commit 4a5c8f5

Please sign in to comment.