Guest User

Applescript dpkg-deb -b

a guest
Jun 22nd, 2014
270
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. tell application "AppleScript Editor"
  2.     display dialog "Enter the Folder Name. It must be on your Desktop" default answer ""
  3.     set debID to text returned of the result
  4. end tell
  5.  
  6. do shell script "cd ~/Desktop ; /opt/local/bin/dpkg-deb -b " & debID
  7.  
  8.  
  9. Result:
  10. error "warning, `com.test/DEBIAN/control' contains user-defined field `Name'
  11. warning, `com.test/DEBIAN/control' contains user-defined field `Author'
  12. warning, `com.test/DEBIAN/control' contains user-defined field `Depiction'
  13. warning, `com.test/DEBIAN/control' contains user-defined field `Sponsor'
  14. dpkg-deb: ignoring 4 warnings about the control file(s)
  15. dpkg-deb (subprocess): failed to exec tar -cf: No such file or directory
  16. dpkg-deb: subprocess tar -cf returned error exit status 2" number 2
Advertisement
Add Comment
Please, Sign In to add comment