Skip to content

Commit

Permalink
update symlinks
Browse files Browse the repository at this point in the history
- dmd.conf.5 is now in man5

- added ddemangle and dustmite

- sorted

- shouldn't the binaries simply be installed to /usr/bin???
  • Loading branch information
MartinNowak committed Feb 3, 2014
1 parent 3060b06 commit 808b00d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
6 changes: 4 additions & 2 deletions osx/post-install.sh
Expand Up @@ -6,13 +6,15 @@
# License:: Public Domain
#

ln -sf /usr/share/dmd/bin/ddemangle /usr/bin/ddemangle
ln -sf /usr/share/dmd/bin/dmd /usr/bin/dmd
ln -sf /usr/share/dmd/bin/rdmd /usr/bin/rdmd
ln -sf /usr/share/dmd/bin/dmd.conf /usr/bin/dmd.conf
ln -sf /usr/share/dmd/bin/dumpobj /usr/bin/dumpobj
ln -sf /usr/share/dmd/bin/dustmite /usr/bin/dustmite
ln -sf /usr/share/dmd/bin/obj2asm /usr/bin/obj2asm
ln -sf /usr/share/dmd/bin/rdmd /usr/bin/rdmd
ln -sf /usr/share/dmd/man/man1/dmd.1 /usr/share/man/man1/dmd.1
ln -sf /usr/share/dmd/man/man1/dmd.conf.5 /usr/share/man/man1/dmd.conf.5
ln -sf /usr/share/dmd/man/man1/dumpobj.1 /usr/share/man/man1/dumpobj.1
ln -sf /usr/share/dmd/man/man1/obj2asm.1 /usr/share/man/man1/obj2asm.1
ln -sf /usr/share/dmd/man/man1/rdmd.1 /usr/share/man/man1/rdmd.1
ln -sf /usr/share/dmd/man/man5/dmd.conf.5 /usr/share/man/man5/dmd.conf.5
9 changes: 6 additions & 3 deletions osx/uninstall.command
Expand Up @@ -6,15 +6,18 @@
# License:: Public Domain
#

sudo -p "Please give your password for uninstallation: " rm -rf /usr/share/dmd
sudo -p "Please give your password for uninstallation: " rm -f /usr/bin/ddemangle
sudo -p "Please give your password for uninstallation: " rm -f /usr/bin/dmd
sudo -p "Please give your password for uninstallation: " rm -f /usr/bin/dmd.conf
sudo -p "Please give your password for uninstallation: " rm -f /usr/bin/dumpobj
sudo -p "Please give your password for uninstallation: " rm -f /usr/bin/dustmite
sudo -p "Please give your password for uninstallation: " rm -f /usr/bin/obj2asm
sudo -p "Please give your password for uninstallation: " rm -f /usr/bin/rdmd
sudo -p "Please give your password for uninstallation: " rm -f /usr/share/man/man1/dmd.1
sudo -p "Please give your password for uninstallation: " rm -f /usr/share/man/man1/dmd.conf.5
sudo -p "Please give your password for uninstallation: " rm -f /usr/share/man/man1/dumpobj.1
sudo -p "Please give your password for uninstallation: " rm -f /usr/share/man/man1/obj2asm.1
sudo -p "Please give your password for uninstallation: " rm -f /usr/share/man/man1/rdmd.1
sudo -p "Please give your password for uninstallation: " rm -f /usr/share/man/man5/dmd.conf.5
sudo -p "Please give your password for uninstallation: " rm -rf /usr/share/dmd

echo "Uninstallation complete!\n"
echo "Uninstallation complete!\n"

0 comments on commit 808b00d

Please sign in to comment.