You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by Marcus Wellnitz <we...@datenwerk-it.de> on 2012/11/21 11:59:13 UTC

[OT: unix-tools] Debian_Installer_Upgrader.sh

tofrodos is more handy:

from http://raetsel.wordpress.com/2007/05/29/dtox-dos2unix-tofrodos/ :
Once the tofrodos package is installed, the unix2dos and dos2unix 
commands will work,
such as |unix2dos file.txt|
and even |unix2dos file.txt ~/Desktop/new-directory/file.txt|

Am 21.11.2012 11:43, schrieb Maxim Solodovnik:
>
> sudo apt-get install dos2unix
>
> On Nov 21, 2012 5:06 PM, "Jean-Marie Landri" 
> <jeanmarielandri@gmail.com <ma...@gmail.com>> wrote:
>
>     Hello maxim,
>     Thanks for the reference,
>
>     root@vps-11182555-13600:~# dos2unix
>     /usr/Ubuntu_Debian_Installer_Upgrader.sh
>     -bash: dos2unix: command not found
>
>     Thank you
>
>
>     On Tue, Nov 20, 2012 at 6:05 AM, Stephen Cottham
>     <Stephen.Cottham@robertbird.com.au
>     <ma...@robertbird.com.au>> wrote:
>
>         Hey Jean-marie,
>
>         Maxim is correct, this was an earlier attempt at the auto
>         installer, I will update this with the latest one when I get a
>         chance.
>
>         Best Regards
>
>         *From:*Maxim Solodovnik [mailto:solomax666@gmail.com
>         <ma...@gmail.com>]
>         *Sent:* 20 November 2012 03:47
>         *To:* openmeetings-user@incubator.apache.org
>         <ma...@incubator.apache.org>
>         *Subject:* Re: Debian_Installer_Upgrader.sh
>
>         The script seems to have Windows line endings
>
>         try to
>
>         dos2unix /usr/Ubuntu_Debian_Installer_Upgrader.sh
>
>         before running it
>
>         On Mon, Nov 19, 2012 at 10:33 PM, Jean-Marie Landri
>         <jeanmarielandri@gmail.com <ma...@gmail.com>>
>         wrote:
>
>         Hello,
>         I'm trying to install the auto script -
>         https://cwiki.apache.org/confluence/download/attachments/27838216/Ubuntu_Debian_Installer_Upgrader.sh?version=1&modificationDate=1343925089000
>
>         It is a fresh vps debian-6.0-x86_64
>         copied the file to /usr
>
>         root@vps-1117903-13600:~# /usr/Ubuntu_Debian_Installer_Upgrader.sh
>         -bash: /usr/Ubuntu_Debian_Installer_Upgrader.sh: /bin/bash^M:
>         bad interpreter: No such file or directory
>
>         thank you
>
>
>
>         -- 
>         WBR
>         Maxim aka solomax
>
>         *Stephen Cottham**
>         *Group IT Manager (Associate)
>
>         Robert Bird Group
>         Level 5, 333 Ann St
>         Brisbane, Queensland, 4000, Australia
>
>         *Phone: +6173 319 2777 <tel:%2B6173%20319%202777> (AUS)*
>
>         *Phone: +44207 633 2880 <tel:%2B44207%C2%A0633%202880> (UK)*
>
>         *Fax: +6173 319 2799 <tel:%2B6173%20319%202799>*
>
>         **
>
>         *Mobile: +61400 756 963 <tel:%2B61400%20756%20963> (AUS)*
>
>         *Mobile: +447900 918 616 <tel:%2B447900%20918%20616> (UK)*
>
>         *Web: **www.robertbird.com* <http://www.robertbird.com/>
>
>         <http://www.robertbird.com.au/><http://www.robertbird.com.au/>
>
>         This email and any attachments are confidential and may
>         contain legally privileged information or copyright material.
>         Unless expressly stated, confidentiality and/or legal
>         privilege is not intended to be waived by the sending of this
>         email. The contents of this email, including any attachments,
>         are intended solely for the use of the individual or entity to
>         whom they are addressed. If you are not an intended recipient,
>         please contact us immediately by return email and then delete
>         both messages. You may not otherwise read, forward, copy, use
>         or disclose this email or any attachments. Any views expressed
>         in this email are those of the individual sender except where
>         the sender expressly, and with authority, states otherwise. It
>         is your responsibility to check any attachments for viruses or
>         defects before opening or sending them on. None of the sender
>         or its related entities accepts any liability for any
>         consequential damage resulting from this email containing
>         computer viruses.
>
>
>         Disclaimer added by *CodeTwo Exchange Rules*
>         www.codetwo.com <http://www.codetwo.com>
>
>


-- 
Marcus Wellnitz
Datenwerk GmbH
Vogelsbergstr. 34
60316 Frankfurt am Main

Telefon +49 (0) 69/9434086-0
Fax     +49 (0) 69/9434086-9
E-Mail  hosting@datenwerk-it.de
Web     www.datenwerk-it.de

Sitz: Frankfurt am Main, Amtsgericht  Frankfurt am Main HRB 55221
Geschäftsführer: Michael Beck